mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2026-04-22 23:20:54 +08:00
fix docker and force redirect to https
This commit is contained in:
@@ -4,15 +4,7 @@ server {
|
||||
expires epoch;
|
||||
|
||||
location / {
|
||||
root /usr/share/nginx/html;
|
||||
index index.html index.htm;
|
||||
}
|
||||
|
||||
location /server {
|
||||
proxy_connect_timeout 300;
|
||||
proxy_pass http://node:3000;
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
return 301 https://$host:8443$request_uri;
|
||||
}
|
||||
|
||||
location /ca.crt {
|
||||
|
||||
Reference in New Issue
Block a user