We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81017e7 commit 8148a5cCopy full SHA for 8148a5c
icpc-wf/ansible/nginx-setup.yml
@@ -23,12 +23,12 @@
23
copy: src={{DJ_DIR}}/etc/nginx-conf-inner remote_src=yes dest=/etc/nginx/snippets/domjudge-inner
24
notify: restart nginx
25
26
- - name: remove HTTP host
+ - name: remove HTTP host and HTTP->HTTPS redirect
27
blockinfile:
28
path: /etc/nginx/sites-available/domjudge.conf
29
marker: "{mark}"
30
marker_begin: "### http host config ###"
31
- marker_end: "# Alternatively, use HTTPS and redirect HTTP to HTTPS:"
+ marker_end: "# Or block all HTTP requests"
32
33
34
- name: enable HTTP redirect and HTTPS blocks
0 commit comments