We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54d0b9b commit 8976ad6Copy full SHA for 8976ad6
cookbooks/community/templates/default/web_only.yml.erb
@@ -129,7 +129,8 @@ hooks:
129
run:
130
- replace:
131
filename: "/etc/nginx/conf.d/discourse.conf"
132
- from: /return 301.+/
+ from: /listen 80;/
133
to: |
134
+ listen 80;
135
+ listen [::]:80;
136
rewrite ^/\.well-known/acme-challenge/(.*)$ http://acme.openstreetmap.org/.well-known/acme-challenge/$1 permanent;
- return 301 https://$$ENV_DISCOURSE_HOSTNAME$request_uri;
0 commit comments