mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-15 09:05:10 +01:00
backend
This commit is contained in:
parent
b26f72a59e
commit
dec1acc6a1
3 changed files with 25 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
@ -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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue