Eric Nemchik 2022-09-08 20:08:24 +00:00
commit 6e4cb5d39c
238 changed files with 1554 additions and 1787 deletions

View file

@ -1,4 +1,4 @@
## Version 2021/07/08
## Version 2022/09/08
# Use this with SyncLounge v3 and up.
# Make sure that you do not have HSTS enabled, otherwise http access won't work
# Make sure that your dns has a cname set for synclounge
@ -15,10 +15,10 @@ server {
client_max_body_size 0;
# enable for ldap auth, fill in ldap details in ldap.conf
#include /config/nginx/ldap.conf;
# enable for ldap auth (requires ldap-location.conf in the location block)
#include /config/nginx/ldap-server.conf;
# enable for Authelia
# enable for Authelia (requires authelia-location.conf in the location block)
#include /config/nginx/authelia-server.conf;
location / {
@ -26,11 +26,10 @@ server {
#auth_basic "Restricted";
#auth_basic_user_file /config/nginx/.htpasswd;
# enable the next two lines for ldap auth
#auth_request /auth;
#error_page 401 =200 /ldaplogin;
# enable for ldap auth (requires ldap-server.conf in the server block)
#include /config/nginx/ldap-location.conf;
# enable for Authelia
# enable for Authelia (requires authelia-server.conf in the server block)
#include /config/nginx/authelia-location.conf;
include /config/nginx/proxy.conf;
@ -48,5 +47,4 @@ server {
proxy_set_header Sec-WebSocket-Version $http_sec_websocket_version;
}
}