1
0
Fork 0

more explicit nginx conf example

Dieser Commit ist enthalten in:
Stephane Martin 2016-09-06 00:08:44 +02:00
Ursprung 483899574b
Commit cc2d0b7e09
1 geänderte Dateien mit 3 neuen und 0 gelöschten Zeilen

Datei anzeigen

@ -348,6 +348,9 @@ Note: of course with that setup you must ensure that **Realms is only accessible
Example Nginx configuration:
location / {
auth_basic "Restricted";
auth_basic_user_file /etc/nginx/.htpasswd;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;