mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-02-13 13:58:51 +02:00
update nexus3
This commit is contained in:
parent
b675ab8b52
commit
5de2f508ba
22
nexus3/nginx.conf
Normal file
22
nexus3/nginx.conf
Normal file
@ -0,0 +1,22 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name nexus3.easypi.pro;
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name nexus3.easypi.pro;
|
||||
ssl_certificate ssl/easypi.crt;
|
||||
ssl_certificate_key ssl/easypi.key;
|
||||
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
|
||||
ssl_ciphers HIGH:!aNULL:!MD5;
|
||||
client_max_body_size 1G;
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:8081;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto "https";
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user