gogs_unsecure.conf.j2 304 B

12345678910111213141516
  1. server {
  2. listen [::]:80;
  3. listen 80;
  4. server_name {{ gogs_domain }};
  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. }