| 12345678910111213141516171819202122 |
- server {
- listen 8443 ssl;
- ssl_certificate "/etc/nginx/conf.d/server.crt";
- ssl_certificate_key "/etc/nginx/conf.d/server.key";
- access_log /var/log/nginx/ot.access.log main;
- error_log /var/log/nginx/ot.error.log notice;
- server_name olivetin.example.com;
- location / {
- proxy_pass http://host.containers.internal:1337/;
- proxy_redirect http://host.containers.internal:1337/ http://host.containers.internal/OliveTin/;
- }
- location /websocket {
- proxy_set_header Upgrade "websocket";
- proxy_set_header Connection "upgrade";
- proxy_pass http://host.containers.internal:1337/websocket;
- }
- }
|