reverse proxy config for (*.)cloud.reterup.it
This commit is contained in:
parent
680920b196
commit
c99a2b323b
|
@ -85,8 +85,11 @@ http {
|
|||
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name reterup.it *.reterup.it;
|
||||
listen 443 ssl;
|
||||
server_name cloud.reterup.it *.cloud.reterup.it;
|
||||
|
||||
ssl_certificate /etc/nginx/ssl/bundle.pem;
|
||||
ssl_certificate_key /etc/nginx/ssl/privkey.pem;
|
||||
|
||||
location /{
|
||||
|
||||
|
@ -99,6 +102,8 @@ http {
|
|||
proxy_cache_bypass $http_upgrade;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
|
||||
proxy_redirect http:// https://;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue