forked from linux/WebHosting
Rename service name from carculator to swiss-ecargo because this is a special version of carculator and we want to reserve the carculator name for later.
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name carculator-api-test.psi.ch;
|
||||
server_name swiss-ecargo-api-test.psi.ch;
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name carculator-api-test.psi.ch;
|
||||
server_name swiss-ecargo-api-test.psi.ch;
|
||||
|
||||
|
||||
location / {
|
||||
proxy_pass http://carculator:8000;
|
||||
proxy_pass http://swiss-ecargo:8000;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
Reference in New Issue
Block a user