diff options
author | Jesse Luehrs <doy@tozt.net> | 2017-11-05 21:56:01 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2017-11-05 21:56:01 -0500 |
commit | bd9f23facf43df40a481aa07732600d7512a86dc (patch) | |
tree | ad473b769ae0597669af07a67118fff77810facf /modules/tozt/files/nginx/blog.conf | |
parent | 18dab99801d978f6b037858e5dafb197e5f8c804 (diff) | |
download | puppet-tozt-bd9f23facf43df40a481aa07732600d7512a86dc.tar.gz puppet-tozt-bd9f23facf43df40a481aa07732600d7512a86dc.zip |
nginx config
Diffstat (limited to 'modules/tozt/files/nginx/blog.conf')
-rw-r--r-- | modules/tozt/files/nginx/blog.conf | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/modules/tozt/files/nginx/blog.conf b/modules/tozt/files/nginx/blog.conf new file mode 100644 index 0000000..b1af3b6 --- /dev/null +++ b/modules/tozt/files/nginx/blog.conf @@ -0,0 +1,28 @@ +server { + listen 80; + server_name blog.tozt.net; + + access_log /var/log/nginx/blog.access.log; + error_log /var/log/nginx/blog.error.log; + + location / { + root /home/doy/blog; + index index.html; + } +} + +server { + listen 443; + server_name blog.tozt.net; + + access_log /var/log/nginx/blog.access.log; + error_log /var/log/nginx/blog.error.log; + + include ssl; + + location / { + root /home/doy/blog; + index index.html; + } +} +# vim:ft=nginx |