mirror of
https://github.com/krislamo/vagrant-easyredmine
synced 2024-11-10 06:50:35 +00:00
16 lines
363 B
Django/Jinja
16 lines
363 B
Django/Jinja
server {
|
|
listen 80;
|
|
server_name {{ ansible_fqdn }};
|
|
return 301 https://$host$request_uri;
|
|
}
|
|
|
|
server {
|
|
listen 443;
|
|
server_name {{ ansible_fqdn }};
|
|
ssl on;
|
|
ssl_certificate /etc/pki/tls/certs/{{ ansible_fqdn }}.pem;
|
|
ssl_certificate_key /etc/pki/tls/certs/{{ ansible_fqdn }}.pem;
|
|
root {{ redmine_root_dir }}/public;
|
|
passenger_enabled on;
|
|
}
|