Questions tagged [angular]

It's a open-source (web) application platform intended for front-ends and is based on TypeScript programming language.

40 questions
0
votes
1 answer

Gitlab CI won't serve Angular app to staging environment

I am trying to set up a pipeline that does the following: Commit new Angular code Build live review app for testing Manual push to production I have been able to successfully build the app within the pipeline using a docker file and have the proper…
punygod
  • 1
  • 1
0
votes
1 answer

How to serve wordpress (LAMP) and Angular (Node/Express) app on same server/domain

I'm currently running a web server with Ubuntu 16.04, serving up a Wordpress site, using LAMP stack and LetsEncrypt SSL to encrypt the website. I'd like to be able to run an Angular app with the MEAN stack on the same server, using a…
0
votes
0 answers

(111: Connection refused) while connecting to upstream nginx with docker

I am trying to dockerizing a angular universal app using nginx, and it's giving me really hard time. I have looked everywhere and haven't found a solution. Dockerfile FROM node:14-alpine AS builder WORKDIR /app COPY . . RUN npm i && npm run…
0
votes
1 answer

Nginx Reverse Proxy do not load JS and CSS from other server

I have two version of a WebApp, running on two different servers (prod and dev). Prod version is available on exemple.com, and dev version on exemple.com/dev. However, when I set the proxy to load dev version, only the index.html file is loaded, JS…
Guix
  • 103
  • 2
0
votes
0 answers

Why can't I reach ng by the interface IP address?

I'm trying to use VirtualBox to set up an Ubuntu Linux VM to emulate the server I'm developing for. The server has three network interfaces. On the server, there is a web page hosted by ng and an instance of Mosquitto. We want these to be…
Chris Nelson
  • 119
  • 4
0
votes
1 answer

Lightsail amazon - Can't reach port

I have an angular app on a Lightsail server. It seems to run correctly See here I created the rule in the network tab on the 4200 port See here But I cannot reach it from the outside ... See here Can you help me?
Mourad B
  • 1
  • 2
0
votes
1 answer

Npm install and ng build takes 35-40min

I have environment: Jenkins Docker proxmox with vm and lxc container angular 9 project Problem is with my Dockerfile building, it takes around 35-40min. My dockerfile FROM node:12.6-stretch ARG ABSOLUTE_PATH=./app ARG build_command="node…
PawelC
  • 149
  • 1
  • 11
0
votes
0 answers

how to redirect user to the index page , if they try to access browse file from directory browsing

I want to restrict user who try to browse the list of page through directory browsing , currently I am able to redirect user to index page if he try to access "xyz.leadangel.com/assets" but I am not able to redirect to index page if he try's to…
0
votes
1 answer

How to create auto redirect to 301 https + proxy_pass in NGINX for one location /

This is my nginx config: server { listen 80; server_name example.com; server_tokens off; location /.well-known/acme-challenge/ { root /var/www/certbot; } location / { proxy_pass http://frontend:4200; # return 301…
0
votes
1 answer

1 rewrite or internal redirection cycle while internally redirecting to "/en/index.html"

I want to host the Angular i18n website using the Nginx proxy. As per the official Nginx configuration suggestion https://angular.io/guide/i18n-common-deploy#nginx-example, my app.conf file in the /etc/nginx/site-available directory is like map…
Anuj TBE
  • 111
  • 3
0
votes
0 answers

Downloading large excel file in angular using xlsx library(net::ERR_INCOMPLETE_CHUNKED_ENCODING 200)

I am doing an excel file download using angular + springboot and the api returns application/json file. The transfer-encoding:chunked is always enabled and i see responses return http 1.1 . I posted this on stackoverflow but haven't gotten any…
0
votes
1 answer

I can't edit the url to remove the name of the app

I am deploying an angular 13 application in a tomcat 9 environment. This is the domain I am using: http://streamsspain.com/ And this is the result: http://streamsspain.com/streamsspain_web/ The problem that I find is that I use a proxy from apache2…
0
votes
1 answer

NGINX serving multiple angular applications - static files missing error

Have more than 1 angular application served by single nginx reverse proxy. Here is my config I tried. worker_processes 1; error_log <%= ENV["APP_ROOT"] %>/nginx/logs/error.log; events { worker_connections 1024; } http { client_max_body_size…
Pat
  • 101
  • 3
0
votes
0 answers

Installation of Angular on Windows for multiple users

We are setting up a server that will be used by all application developers for our organization. One of the things I'm told we need, is nodejs, and then an Angular installation. It seems that Angular is installed by and for each user (it's…
Dennis
  • 167
  • 1
  • 12
0
votes
0 answers

SSL Error: How to use Nginx with Node.js App using Angular and websocket

I am running into an SSL error when setting up Nginx as a reverse proxy for a Node.js app. This app uses Angular to serve dynamic content and for WebSocket, we use ws. WS working properly but when attempting for wss I receive below error WebSocket…
user23316
  • 1
  • 2