cors frontend

This commit is contained in:
nora 2022-09-03 15:00:48 +02:00
parent 5f2304ea29
commit 6b6bd16970
3 changed files with 24 additions and 0 deletions

View file

@ -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;
}

View file

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