update nginx.conf
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user