mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-14 16:55:00 +01:00
cors frontend
This commit is contained in:
parent
5f2304ea29
commit
6b6bd16970
3 changed files with 24 additions and 0 deletions
|
|
@ -29,5 +29,18 @@ 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 "cors-school.nilstrieb.dev";
|
||||
|
||||
location / {
|
||||
proxy_pass https://cors-school-frontend:80/;
|
||||
}
|
||||
}
|
||||
|
||||
server_tokens off;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue