Skip to content
Snippets Groups Projects
site.local.conf 1.21 KiB
Newer Older
Guilhem CARRON's avatar
Guilhem CARRON committed
        listen 443 ssl;
Guilhem CARRON's avatar
Guilhem CARRON committed
        server_name         local;
Guilhem CARRON's avatar
Guilhem CARRON committed
        ssl_certificate     /etc/nginx/cert.pem;
        ssl_certificate_key /etc/nginx/key.pem;
        ssl_protocols       TLSv1 TLSv1.1 TLSv1.2;
        ssl_ciphers         HIGH:!aNULL:!MD5;
Bastien DUMONT's avatar
Bastien DUMONT committed
            proxy_pass https://host.docker.internal:3000/;
            proxy_http_version 1.1;
            proxy_set_header Upgrade $http_upgrade;
            proxy_set_header Connection "upgrade";
Guilhem CARRON's avatar
Guilhem CARRON committed
        }
Hugo SUBTIL's avatar
Hugo SUBTIL committed
        location /api {  
            proxy_pass https://host.docker.internal:1443/api;
Guilhem CARRON's avatar
Guilhem CARRON committed
        }
        location /OAuth2Login {
            proxy_pass https://host.docker.internal:1443/OAuth2Login;
Guilhem CARRON's avatar
Guilhem CARRON committed
        }
        location /OAuth2Callback {
            proxy_pass https://host.docker.internal:1443/OAuth2Callback;
Guilhem CARRON's avatar
Guilhem CARRON committed
        }
Hugo SUBTIL's avatar
Hugo SUBTIL committed
        location /Logout {
            proxy_pass https://host.docker.internal:1443/Logout;
        location /doc {
            proxy_pass https://host.docker.internal:1443/doc;
Guilhem CARRON's avatar
Guilhem CARRON committed
        }
        location /imageNames {
            proxy_pass https://host.docker.internal:1443/api/animator/imageNames;
Rémi PAILHAREY's avatar
Rémi PAILHAREY committed
        location /assets {
            proxy_pass https://host.docker.internal:1443/assets;