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; } }