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

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

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
0 answers

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. help solve the problem centos 7
0
votes
0 answers

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/detail/one break; proxy_pass https://example.online; } } I am using this…
0
votes
0 answers

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 must redirect to…
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
  • 2
0
votes
0 answers

nginx returning 405 method not allowed for node apis with localized angular folders

I did changes in ngnix file to make it work for localized angular dist folder with multiple languages. client side application working properly with url routing etc but node apis for authentication are returning "405 method not allowed" error. any…
ch3t
  • 111
  • 1
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
  • 11
0
votes
1 answer

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…
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
  • 1
0
votes
2 answers

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 (like http://www.somedomain.com, it redirects just…
Pablo Varela
  • 103
  • 1
  • 3