Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
coopdevs-provisioning
Manage
Activity
Members
Plan
External wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Github Mirror
coopdevs
coopdevs-provisioning
Commits
97c044b4
Commit
97c044b4
authored
6 years ago
by
Enrico Stano
Browse files
Options
Downloads
Patches
Plain Diff
Nginx SSL configuration for forms.coopdevs.org
parent
e6c6f6c0
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/limesurvey/templates/limesurvey.conf.j2
+16
-2
16 additions, 2 deletions
roles/limesurvey/templates/limesurvey.conf.j2
with
16 additions
and
2 deletions
roles/limesurvey/templates/limesurvey.conf.j2
+
16
−
2
View file @
97c044b4
...
...
@@ -3,10 +3,24 @@ upstream php {
}
server {
listen 80;
listen 80; listen [::]:80;
server_name {{ limesurvey_server_name }};
return 301 https://$host$request_uri;
}
server {
listen 443 ssl http2;
server_name {{ limesurvey_server_name }};
ssl_certificate /etc/letsencrypt/live/{{ limesurvey_server_name }}/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/{{ limesurvey_server_name }}/privkey.pem;
include /etc/letsencrypt/options-ssl-nginx.conf;
gzip on;
root {{ limesurvey_dir }};
index index.php index.html index.htm;
server_name {{ limesurvey_server_name }};
location / {
try_files $uri $uri/ =404;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment