Browse code
adding nginx conf
Ed L authored on 08/10/2015 06:37:58
Showing 1 changed files
Showing 1 changed files
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,20 @@ |
1 |
+server { |
|
2 |
+ server_name planet.joinmarrow.com; |
|
3 |
+ access_log /var/log/nginx/planet.joinmarrow.com.access.log combined; |
|
4 |
+ error_log /var/log/nginx/planet.joinmarrow.com.error.log error; |
|
5 |
+ |
|
6 |
+ root /home/edwlan/.rawdog/output; |
|
7 |
+ try_files $uri.html $uri $uri/ @notfound; |
|
8 |
+ index index.html; |
|
9 |
+ |
|
10 |
+ listen 80; |
|
11 |
+# auth_basic "Restricted"; |
|
12 |
+# auth_basic_user_file .htpasswd; |
|
13 |
+ |
|
14 |
+ location = /robots.txt { |
|
15 |
+ allow all; |
|
16 |
+ log_not_found off; |
|
17 |
+ access_log off; |
|
18 |
+ } |
|
19 |
+ |
|
20 |
+} |