forked from linux/WebHosting
Update conf.d/mcda-up.psi.ch.conf
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name mcda-up.psi.ch;
|
||||
server_name mcda-up-test.psi.ch;
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name mcda-up.psi.ch;
|
||||
server_name mcda-up-test.psi.ch;
|
||||
|
||||
ssl_certificate /etc/nginx/certs/mcda-up.psi.ch.crt;
|
||||
ssl_certificate_key /etc/nginx/private/mcda-up.psi.ch.key;
|
||||
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/;
|
||||
|
||||
Reference in New Issue
Block a user