update nginx.conf

This commit is contained in:
2024-07-03 13:20:13 +01:00
parent 0ce409bcce
commit 47ab6b91a8
6 changed files with 101 additions and 23 deletions
+12
View File
@@ -10,8 +10,20 @@ upstream onitama_backend {
server {
server_name onitama.tryton.geeraert.eu www.onitama.tryton.geeraert.eu;
location / {
# auth_request /auth;
# auth_request_set $auth_status $upstream_status;
# error_page 401 = @handle_unauthorized;
proxy_pass http://onitama_backend;
}
# location /auth {
# proxy_ssl_server_name on;
# proxy_pass https://keycloak.tryton.geeraert.eu/realms/tryton/protocol/openid-connect/userinfo;
# proxy_pass_request_body off;
# proxy_set_header Content-Length "";
# proxy_set_header X-Original-URI $request_uri;
# }
location /.well-known/acme-challenge/ {
root /var/www/certbot;
}