Update nginx-proxy-config
This commit is contained in:
parent
2258ffce66
commit
2e64f05bb1
1 changed files with 2 additions and 1 deletions
|
|
@ -20,6 +20,7 @@ server {
|
||||||
ssl_protocols TLSv1.2 TLSv1.3;
|
ssl_protocols TLSv1.2 TLSv1.3;
|
||||||
ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256;
|
ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256;
|
||||||
ssl_prefer_server_ciphers on;
|
ssl_prefer_server_ciphers on;
|
||||||
|
server_tokens off; # hide nginx version in response
|
||||||
|
|
||||||
# static media
|
# static media
|
||||||
location /media {
|
location /media {
|
||||||
|
|
@ -70,4 +71,4 @@ server {
|
||||||
uwsgi_pass unix:///tmp/myapp.sock;
|
uwsgi_pass unix:///tmp/myapp.sock;
|
||||||
limit_req zone=restricted_ip burst=4;
|
limit_req zone=restricted_ip burst=4;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue