summaryrefslogtreecommitdiff
path: root/files/nginx/website
diff options
context:
space:
mode:
Diffstat (limited to 'files/nginx/website')
-rw-r--r--files/nginx/website15
1 files changed, 15 insertions, 0 deletions
diff --git a/files/nginx/website b/files/nginx/website
new file mode 100644
index 0000000..dac54e1
--- /dev/null
+++ b/files/nginx/website
@@ -0,0 +1,15 @@
+server {
+ root /var/www/website ;
+
+ index index.html index.htm index.nginx-debian.html;
+
+ server_name eug-vs.xyz www.eug-vs.xyz;
+
+ location /public/ {
+ autoindex on;
+ }
+
+ location / {
+ try_files $uri $uri/ =404;
+ }
+}