2021-10-05 21:22:49 +02:00
|
|
|
server {
|
|
|
|
listen 80;
|
|
|
|
listen [::]:80;
|
2022-08-20 16:17:58 +02:00
|
|
|
|
2021-10-05 21:22:49 +02:00
|
|
|
listen 443 ssl http2;
|
|
|
|
listen [::]:443 ssl http2;
|
|
|
|
|
2024-03-22 19:31:46 +01:00
|
|
|
server_name example.com api.example.com cufs.example.com uonetplus.example.com uonetplus-opiekun.example.com uonetplus-uczen.example.com uonetplus-uzytkownik.example.com uonetplus-wiadomosciplus.example.com uonetplus-uczenplus.example.com;
|
2021-10-05 21:22:49 +02:00
|
|
|
|
|
|
|
ssl_trusted_certificate /path/to/chain.pem;
|
|
|
|
ssl_certificate /path/to/fullchain.pem;
|
|
|
|
ssl_certificate_key /path/to/privkey.pem;
|
|
|
|
|
|
|
|
location / {
|
|
|
|
proxy_set_header Host $host;
|
|
|
|
proxy_pass http://localhost:3000;
|
|
|
|
}
|
|
|
|
}
|