forked from linux/WebHosting
Delete conf.d/mcda-up-test.conf
This commit is contained in:
@@ -1,29 +0,0 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name mcda-up-test.psi.ch;
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name mcda-up-test.psi.ch;
|
||||
|
||||
ssl_certificate /etc/nginx/certs/mcda-up-test.psi.ch.crt;
|
||||
ssl_certificate_key /etc/nginx/private/mcda-up-test.psi.ch.key;
|
||||
|
||||
location /api/ {
|
||||
proxy_pass http://up-mavt-suite-backend:5000/api/;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
|
||||
location / {
|
||||
proxy_pass http://up-mavt-suite-frontend:3000;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user