Archived
Change nginx container to unprivileged (#525)
This commit is contained in:
1 parent
5b52f713bd
commit
c3ecd245be
4 files changed
+31
-8
No files matched your search
+2
-2
@@ -1,5 +1,5 @@
|
||||
server {
|
||||
listen 80 default_server;
|
||||
listen 8080 default_server;
|
||||
server_name _;
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
@@ -10,7 +10,7 @@ map $http_x_forwarded_proto $proxy_x_forwarded_proto {
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen 8443 ssl http2;
|
||||
|
||||
ssl_certificate /cert/cert.pem;
|
||||
ssl_certificate_key /cert/key-no-password.pem;
|
||||
|
||||
Reference in new issue
Block a user