summaryrefslogtreecommitdiff
path: root/nginx
diff options
context:
space:
mode:
Diffstat (limited to 'nginx')
-rw-r--r--nginx/pestrel.com.conf18
1 files changed, 18 insertions, 0 deletions
diff --git a/nginx/pestrel.com.conf b/nginx/pestrel.com.conf
new file mode 100644
index 0000000..372c321
--- /dev/null
+++ b/nginx/pestrel.com.conf
@@ -0,0 +1,18 @@
+# Synoptic chart site — pestrel.com
+# Installed to /etc/nginx/conf.d/synoptic.conf by setup.sh
+#
+# Requires /etc/nginx/nginx.conf to include:
+# include /etc/nginx/conf.d/*.conf;
+
+server {
+ listen 80;
+ listen [::]:80;
+ server_name pestrel.com www.pestrel.com;
+
+ root /srv/www;
+ index index.html;
+
+ location / {
+ try_files $uri $uri/ =404;
+ }
+}