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
0 votes
0 answers
44 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 ...
0 votes
1 answer
16 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 ...
0 votes
1 answer
151 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 ...
  • 149
0 votes
0 answers
17 views

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 ...
0 votes
1 answer
141 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 ...
0 votes
1 answer
216 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 /...
  • 111
0 votes
0 answers
385 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 ...
0 votes
0 answers
55 views

angular and wsgi-flask on apache

0 I can't run both wsgi and angular on apache at the same time. Although if you remove or wsgi or angular from the example.com.conf file, then they work, but if they are together, then they don’t. ...
0 votes
0 answers
41 views

Nginx Proxy_pass is adding www in proxy_pass url

add_header X-debug-message "$uri"; add_header X-debug-message "$request_uri"; if ($http_user_agent ~* "teams|twitterbot|facebookexternalhit") { rewrite detail/one /api/...
0 votes
0 answers
276 views

Nginx, Cloudflare, Subdomain issues

NGINX Newbie here, I'm trying to configure what I find a bit challenging task. I need the following structure: www.example.com -- Website for Company. For now, both www.example.com and example.com ...
0 votes
1 answer
71 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 ...
0 votes
1 answer
1k 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 ...
  • 101
1 vote
0 answers
232 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 ...
2 votes
1 answer
1k 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 ...
0 votes
0 answers
179 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 ...
  • 167
1 vote
1 answer
393 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....
1 vote
1 answer
345 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 ...
0 votes
0 answers
940 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 ...
0 votes
2 answers
4k 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 (...
0 votes
0 answers
515 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 ...
0 votes
0 answers
978 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 ...
1 vote
2 answers
325 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 ...
  • 9
2 votes
1 answer
6k 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, ...
  • 25
0 votes
1 answer
2k 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 ...
  • 101
0 votes
0 answers
1k 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)? ...
  • 21
2 votes
2 answers
7k 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 ...
  • 21
1 vote
0 answers
59 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 "...
  • 11
0 votes
1 answer
2k 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; ...
0 votes
0 answers
74 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 ...
0 votes
1 answer
499 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 ...
  • 101
0 votes
1 answer
936 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 ...
  • 101
0 votes
0 answers
30 views

Why does the access.log nginx file contain two different agent users for a single request?

I try to debugg an Angular error with an online Webbrowser Simulator "Saucelabs.com" running Safari. When I watch my debugg file on the nginx in access.log I see the following line: xxx.xxx.xxx.xxx - ...
  • 1
2 votes
1 answer
244 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 ...
1 vote
0 answers
66 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 ...
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 ...
0 votes
0 answers
229 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:...
-1 votes
1 answer
61 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 ...
  • 1
1 vote
1 answer
7k 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 ...
0 votes
1 answer
562 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,...
  • 103
1 vote
0 answers
82 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/...
0 votes
1 answer
348 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 ...
0 votes
1 answer
926 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 ...