Skip to main content

Questions tagged [angular]

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

Filter by
Sorted by
Tagged with
2 votes
1 answer
3k views

Angular server side rendering keeps going down to 502 errors

So I have been running my front end on the server for a few weeks now(angular Server Side rendering). I keep running into this issue where the front end goes down to a 502 error. I have to restart the ...
Venomoustoad's user avatar
2 votes
1 answer
370 views

Renaming the index.html on Google App Engine

Ok, let me 1st come clean. I mistakenly added a 365d expiration date to my index.html file. I've now made a change to a JS file, which changed the name of the import in my index.html and now it's ...
MindlessRouse's user avatar
2 votes
1 answer
9k views

Angular CORS with Nginx

Several questions for the same topic on the net but nothing worked. I have a serverXYZ running an Angular app, a backend tomcat webapp for authentication, a nginx server. Angular app on port 4200, ...
glass's user avatar
  • 25
2 votes
2 answers
10k views

CORS blocked by No "Access-Control-Allow-Origin" on dockerized Angular frontend app and Spring Boot dockerized backend

I have built an Angular app and created a docker image, which makes it run on an Nginx server (once it is run). For the backend, I have a dockerized implementation as well. While trying to access the ...
Leo's user avatar
  • 21
1 vote
2 answers
951 views

Is reverse proxy recommended in production environment?

We have an Angular app and a Back-end web API on .NET core. Both sites should be served over HTTPS. I currently have one Linux server. Currently I'm planning to host my Angular app on a domain (for ...
mbdow's user avatar
  • 9
1 vote
1 answer
2k views

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 ...
PawelC's user avatar
  • 179
1 vote
1 answer
1k views

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 /...
Anuj TBE's user avatar
  • 121
1 vote
1 answer
2k views

Apache config for frontend https + Backend http

I have a server running on Linode that has 3 subdomains. Every subdomain is a diferent Angular 8 Application and have it´s own backend. xyz.example.com xyz.example.com:8080 abc.example.com abc....
Renato Azevedo Zoppei's user avatar
1 vote
1 answer
9k views

How to config Nginx to serve Angular app when the angular urls are like this http://serverpath/a/b?

I'm trying to serve an Angular(V7) app with Nginx. according to https://angular.io/guide/deployment#fallback-configuration-examples I change default Nginx config try_files $uri $uri/ =404; to ...
Naeiim Shiri's user avatar
1 vote
0 answers
50 views

Openshift nginx proxy_pass not redirecting from current host to another

This is my DockerFile FROM docker-enterprise.net/developers-nginx/nginx1.22/rhel8/nginx-rhel8:latest USER root RUN mkdir /.ionicsecurity && \ chmod 775 /.ionicsecurity && \ ...
Pat's user avatar
  • 111
1 vote
1 answer
3k views

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 ...
Guix's user avatar
  • 113
1 vote
0 answers
430 views

Angular application CORS issues using Nginx

My Angular application is unable to make requests to my backend. This is the Nginx configuration server { listen 0.0.0.0:443 ssl; listen [::]:443 ssl; server_name my.site.io; ssl_certificate ...
Antonio Santoro's user avatar
1 vote
1 answer
525 views

WSS Connectivity issue on production

I am using Angular8 as frontend and Nodejs as backend I have Configured WSS on production ,but connection with client not working properly, In one page connection is working but in another page ...
Satish Umagol's user avatar
1 vote
2 answers
7k views

Angular and IIS. Redirect to HTTPS keeping full uRL

I have to redirect a full URL from HTTP to HTTPS for an Angular app that needs to be hosted on an IIS server. I created the following rules, but it is not working, it only works with the main domain (...
Pablo Varela's user avatar
1 vote
0 answers
203 views

Return 404 after configure the https on Apache 2.4

I am trying to deploy a new Angular app with apache 2.4 + ubuntu 16. Angular app is the frontend app, it would call the api from backend servers. I can visit the home page, but failed with error "...
Lambert's user avatar
  • 11
1 vote
0 answers
93 views

Encrypting communication between between Microservice in my company and AWS

I am dealing with communication between microservices. Microservice A - Angular6/django Microservice B - NodeJS My Microservice A is in company network and Microservice B is in AWS. we need to find ...
Raveendar V's user avatar
1 vote
1 answer
3k views

nginx reverse proxy all path to an express angular nodejs app

I'm developing an app using express nodjs as backend for an API and developing the frontend with angular7. I am ready to deploy (copy) all *js, *html from the angular app build to a public/path in the ...
juan carlos peña cabrera's user avatar
1 vote
0 answers
108 views

Nginx with SSL maintaining appends domain name before request URL

There is an Angular application in the dockerized Nginx. The Nginx configured for https mode with a trusted SSL certificate. The Nginx config looks like: worker_processes 1; error_log /var/log/...
xxxception's user avatar
0 votes
1 answer
2k views

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 ...
Pat's user avatar
  • 111
0 votes
1 answer
696 views

Nginx und Tomcat For Spring and Angular App

I have Spring boot and Angular app in Tomcat Container deployed on Server. It works totally fine on localhost. Now I am trying to map my domain with the application. When I call my domain then API ...
lesnar's user avatar
  • 101
0 votes
0 answers
91 views

How to configure .htaccess for use with Angular

Angular provides a standard .htaccess to be used in Angular applications. RewriteEngine On # If an existing asset or directory is requested go to it as it is RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} ...
Tom's user avatar
  • 289
0 votes
1 answer
7k views

Browser displays black "xxx took too long to respond" for 3 seconds then displays the expected page

There are two apps A and B. A is used to authenticate users and passes a token to B, B adds a cookie. Something strange happens whenever the cookie expires or after a long period of time or hard ...
Ross Bush's user avatar
  • 121
0 votes
0 answers
13 views

Config nginx proxy for tomcat app on Ubuntu [duplicate]

I have that config for nginx: server { listen 80; server_name myDomain; access_log /var/log/nginx/tomcat-access.log; error_log /var/log/nginx/tomcat-error.log; underscores_in_headers on; if ($...
Olexie Polishchyk's user avatar
0 votes
0 answers
148 views

Deploying Typescript + Angular app to Azure App Service via Azure Devops pipeline (ng modue not found)

Got this typescript + angular app that works great locally. Trying to set up a deployment pipeline on Azure Devops that builds and releases to App Service (linux nodejs webapp). The plumbing works, ...
soundcake's user avatar
0 votes
0 answers
537 views

Web application not responding on IIS 10 after OS Upgrade

I upgraded to Windows 2022 and IIS 10 from Windows 2016 and IIS 8. But after the upgrade my 2 sites are badly affected. In the evening, when the traffic on the server increases, it goes into non-...
Anees's user avatar
  • 1
0 votes
0 answers
89 views

Configure Nginx to serve Wordpress site and Angular app with same domain

I'm newbie with Nginx and server configurations. I'm trying to deploy a Wordpress web and Angular 2 webapp (each project in a different folder/path) using the same domain and configured by Nginx. For ...
Rubén's user avatar
  • 1
0 votes
0 answers
277 views

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 ...
Chris Nelson's user avatar
0 votes
1 answer
73 views

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 ...
Mourad B's user avatar
0 votes
1 answer
727 views

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 ...
Aliaksandr Vysotskiy's user avatar
0 votes
0 answers
693 views

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 ...
user2868864's user avatar
0 votes
1 answer
188 views

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 ...
LlaGuiTo's user avatar
0 votes
0 answers
577 views

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 ...
Dennis 's user avatar
  • 188
0 votes
0 answers
1k views

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 ...
user23316's user avatar
0 votes
0 answers
982 views

Angular post request refused, but nodejs post request works

I have an express app which listening on port 5000 like this: app.listen(5000, "0.0.0.0, ()=>'Server started on' + 'port ' + 5000). When I try to send a post request by node script using axios ...
Daniel Davrayev's user avatar
0 votes
0 answers
2k views

Nginx - Angular not passing Authorization header

This is the schematic of my microservices setup: To put in words: request comes from browser nginx reverses proxy the request to the angular container angular container makes request to the backend ...
user3353167's user avatar
0 votes
1 answer
3k views

Docker apache and angular

I have an Apache server (in docker) that distributes to several applications. I have an application in Angular that I want to deploy on my server, but when accessing through the domain, it is giving a ...
Alberto's user avatar
  • 101
0 votes
0 answers
2k views

Nginx server configuration hosting an Angular app and proxying requests of the API calls

How one is able to proxy the requests (or the API calls) of an Angular app hosted on Nginx towards backend running on a docker container having another port value (the Angular app is also dokcerized)? ...
Leo's user avatar
  • 21
0 votes
1 answer
3k views

Nginx not able to redirect js , css, jpeg files

Please find by nginx.conf file as below : server { listen 81; server_name www.mysite.com; root /home/ubuntu/mysite/dist; index index.php index.html index.htm; charset utf-8; ...
Lavesh Bhandari's user avatar
0 votes
0 answers
109 views

Understanding angular frontend and elixir backend relationship

I am running a kubernetes cluster on an openstack cloud and have a pod each for my angular frontend and my phoenix/elixir backend. When the user first calls the frontend through an ingress exposed ...
Paul Rousseau's user avatar
0 votes
1 answer
1k views

How to configure lighttpd to serve an Angular 8 application?

I would like to run an Angular 8 app on lighttpd webserver installed on a Raspberry Pi. Unfortunately the app stops loading immediately leaving a blank browser screen. No error in browser console, no ...
mwalter's user avatar
  • 101
0 votes
0 answers
314 views

Deploy MEAN stack app in a subdirectory

I'm trying to host a node app on www.domain.com/nodeapp. I've already got www.domain.com website hosted on apache server. I've created a reverse proxy in apache configuration. ProxyPass /nodeapp http:...
Vipin Yadav's user avatar
0 votes
1 answer
679 views

hosting an Angular app - on S3 - and WordPress - on EC2 - on the same domain, with WordPress in a subdirectory

I'm building an Angular website which will also have a small WordPress installation for the marketing/sales team (to build landing pages). our marketing team is adamant that subdomains are bad for SEO,...
Ben's user avatar
  • 103
0 votes
1 answer
420 views

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 ...
punygod's user avatar
  • 101
0 votes
1 answer
1k views

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 ...
blb1981's user avatar
-1 votes
1 answer
367 views

Getting nginx to pass all routes to Angular index.html

I have an Angular app hosted on nginx that talks to a back-end API. The back-end is working, the app is working when I go to example.com/ but if I go to example.com/custom/path/123 it doesn't get ...
glenatron's user avatar
  • 235
-1 votes
1 answer
120 views

nginx: [emerg] "worker_processes" directive is not allowed here in /etc/nginx/conf.d/default.conf:1 in angular 15?

Iam facing with this error, nginx: [emerg] "worker_processes" directive is not allowed here in /etc/nginx/conf.d/default.conf:1 Docker File: FROM artifactorycloud.ual.com/v-docker/node:16 AS ...
Kapil Soni's user avatar
-1 votes
1 answer
95 views

AWS Application load balancer in switching between two frontends

I have two angular6 frontends, one running on port 4000, the second running on 4100. Do a Dockerized push to ECR and create two task definitions ... create cluster and then 2 services of these two ...
dev's user avatar
  • 1