This commit is contained in:
nora 2022-09-03 15:54:20 +02:00
parent b26f72a59e
commit dec1acc6a1
3 changed files with 25 additions and 1 deletions

View file

@ -42,5 +42,19 @@ http {
}
}
server {
listen 443 ssl;
ssl_certificate /etc/nginx/certs/live/nilstrieb.dev/fullchain.pem;
ssl_certificate_key /etc/nginx/certs/live/nilstrieb.dev/privkey.pem;
server_name "api.cors-school.nilstrieb.dev";
location / {
proxy_pass http://cors-school-backend:8080/;
}
}
server_tokens off;
}

View file

@ -33,5 +33,15 @@ http {
}
}
server {
listen 80;
server_name "api.cors-school.nilstrieb.dev";
location / {
proxy_pass http://cors-school-backend:8080/;
}
}
server_tokens off;
}