Archived
Replace localhost by loopback address in Nginx blocks
This commit is contained in:
1 parent
aac6bc62ea
commit
011243f863
2 files changed
+2
-2
No files matched your search
@@ -6,7 +6,7 @@ server {
|
||||
ssl_certificate_key /etc/ssl/cert.key;
|
||||
|
||||
location / {
|
||||
proxy_pass http://localhost:8080;
|
||||
proxy_pass http://127.0.0.1:8080;
|
||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains";
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user