mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-25 17:26:18 -04:00
fix docker and force redirect to https
This commit is contained in:
parent
2671aa128f
commit
6707021e04
3 changed files with 5 additions and 39 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue