Skip to content
Snippets Groups Projects
site.conf 949 B
Newer Older
  • Learn to ignore specific revisions
  • Hugo SUBTIL's avatar
    Hugo SUBTIL committed
            server_name         localhost;
    
                proxy_pass https://front:3000;
                proxy_set_header Upgrade $http_upgrade;
                proxy_set_header Connection $http_connection;
                proxy_set_header Host $host;
                proxy_set_header X-Forwarded-Proto $scheme;
                proxy_set_header X-Real-IP $remote_addr;
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    
    Guilhem CARRON's avatar
    Guilhem CARRON committed
            }
    
    Hugo SUBTIL's avatar
    Hugo SUBTIL committed
            location /api {  
                proxy_pass https://backend:1443/api;
    
    Guilhem CARRON's avatar
    Guilhem CARRON committed
            }
            location /OAuth2Login {
    
    Hugo SUBTIL's avatar
    Hugo SUBTIL committed
                proxy_pass https://backend:1443/OAuth2Login;
    
    Guilhem CARRON's avatar
    Guilhem CARRON committed
            }
            location /OAuth2Callback {
    
    Hugo SUBTIL's avatar
    Hugo SUBTIL committed
                proxy_pass https://backend:1443/OAuth2Callback;
    
    Guilhem CARRON's avatar
    Guilhem CARRON committed
            }
    
    Hugo SUBTIL's avatar
    Hugo SUBTIL committed
            location /Logout {
    
    Hugo SUBTIL's avatar
    Hugo SUBTIL committed
                proxy_pass https://backend:1443/Logout;
    
            location /swagger {
                proxy_pass https://backend:1443/swagger;
            }