mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-20 22:52:46 -05:00
d92cffadad
increse
14 lines
No EOL
408 B
Text
Executable file
14 lines
No EOL
408 B
Text
Executable file
server {
|
|
listen 80 default_server;
|
|
access_log /var/log/nginx/verdaccio.log;
|
|
charset utf-8;
|
|
location / {
|
|
proxy_pass http://verdaccio:4873/;
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
proxy_set_header X-NginX-Proxy true;
|
|
proxy_ssl_session_reuse off;
|
|
proxy_set_header Host $http_host;
|
|
proxy_redirect off;
|
|
}
|
|
} |