nexus-http.conf.j2 (255B)
1 server { 2 3 listen 80; 4 listen [::]:80; 5 6 server_name {{ nexus_domain }}; 7 8 error_log /var/log/nginx/{{ nexus_domain }}-http.err; 9 access_log /var/log/nginx/{{ nexus_domain }}-http.log; 10 11 location / { 12 return 301 https://$host$request_uri; 13 } 14 }