mirror of
https://git.cloudron.io/cloudron/syncthing-app
synced 2025-09-25 22:37:24 +00:00
Added tests
This commit is contained in:
@@ -8,6 +8,7 @@ daemon off;
|
||||
# Send logs to stderr
|
||||
error_log /dev/stderr warn;
|
||||
|
||||
|
||||
events {
|
||||
worker_connections 768;
|
||||
}
|
||||
@@ -24,20 +25,23 @@ http {
|
||||
fastcgi_temp_path /tmp/fastcgi_temp 1 2;
|
||||
uwsgi_temp_path /tmp/uwsgi_temp 1 2;
|
||||
scgi_temp_path /tmp/scgi_temp 1 2;
|
||||
proxy_buffering off;
|
||||
proxy_cache_path /tmp/proxy_cache levels=1:2 keys_zone=my_cache:10m max_size=100m inactive=60m use_temp_path=off;
|
||||
proxy_cache my_cache;
|
||||
|
||||
server {
|
||||
error_log /dev/stderr warn;
|
||||
listen 8000 default_server;
|
||||
server_name _;
|
||||
proxy_set_header Authorization "Basic YWRtaW46YWRtaW4=";
|
||||
proxy_read_timeout 120s;
|
||||
location /check {
|
||||
proxy_pass http://localhost:3000/syncthing/app.js;
|
||||
proxy_set_header Authorization "Basic YWRtaW46YWRtaW4=";
|
||||
}
|
||||
location / {
|
||||
auth_ldap "Forbidden";
|
||||
auth_ldap_servers cloudron;
|
||||
proxy_pass http://localhost:3000;
|
||||
proxy_set_header Authorization "Basic YWRtaW46YWRtaW4=";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user