aboutsummaryrefslogtreecommitdiffstats
path: root/roles/nginx/HOWTO_new_site.txt
diff options
context:
space:
mode:
Diffstat (limited to 'roles/nginx/HOWTO_new_site.txt')
-rw-r--r--roles/nginx/HOWTO_new_site.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/roles/nginx/HOWTO_new_site.txt b/roles/nginx/HOWTO_new_site.txt
new file mode 100644
index 0000000..ef9ee37
--- /dev/null
+++ b/roles/nginx/HOWTO_new_site.txt
@@ -0,0 +1,19 @@
+
+For a static website:
+
+ server {
+ listen 80;
+ listen [::]:80;
+ server_name <example.com>;
+
+ root /srv/http/<example.com>/www;
+ index index.html;
+
+ location / {
+ try_files $uri $uri/ =404;
+ }
+ }
+
+For a reverse proxied website:
+
+ XXX: TODO