mirror of
https://github.com/GeekOops/geekoops-nginx.git
synced 2024-05-20 05:32:22 +00:00
Felix Niederwanger
e9045aa96d
This commit revives the role after a long slumber. I've updated the Leap and Debian versions and fixes some minor issues that occured while testing.
17 lines
251 B
Django/Jinja
17 lines
251 B
Django/Jinja
## Default page for nginx
|
|
|
|
server {
|
|
listen 80;
|
|
listen [::]:80;
|
|
|
|
root /srv/www/default;
|
|
index index.php index.html index.htm;
|
|
|
|
server_name {{default_page_hostname}};
|
|
|
|
location / {
|
|
try_files $uri $uri/ =404;
|
|
}
|
|
|
|
}
|