nginx_unsecure_default.conf.j2 318 B

12345678910111213141516
  1. server {
  2. listen [::]:80 default_server;
  3. listen 80 default_server;
  4. server_name _;
  5. access_log off;
  6. location / {
  7. return 301 https://$host$request_uri;
  8. }
  9. location /.well-known/acme-challenge/ {
  10. include proxy_params;
  11. proxy_pass http://127.0.0.1:402;
  12. }
  13. }