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;
|
||||
@@ -60,9 +60,9 @@ services:
|
||||
|
||||
# Romain Sacchi <romain.sacchi@psi.ch>
|
||||
# Software host and access to the Internet
|
||||
carculator:
|
||||
image: gitea.psi.ch/sacchi_r/carculator:0.1.0
|
||||
container_name: carculator
|
||||
swiss-ecargo:
|
||||
image: gitea.psi.ch/sacchi_r/swiss-ecargo:0.1.0
|
||||
container_name: swiss-ecargo
|
||||
restart: always
|
||||
networks:
|
||||
- backend
|
||||
|
||||
Reference in New Issue
Block a user