Anyexyz commited on
Commit
a506db9
1 Parent(s): 87e20ec
Files changed (1) hide show
  1. nginx.vh.default.conf +58 -0
nginx.vh.default.conf ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # nginx.vh.default.conf -- docker-openresty
2
+ #
3
+ # This file is installed to:
4
+ # `/etc/nginx/conf.d/default.conf`
5
+ #
6
+ # It tracks the `server` section of the upstream OpenResty's `nginx.conf`.
7
+ #
8
+ # This config (and any other configs in `etc/nginx/conf.d/`) is loaded by
9
+ # default by the `include` directive in `/usr/local/openresty/nginx/conf/nginx.conf`.
10
+ #
11
+ # See https://github.com/openresty/docker-openresty/blob/master/README.md#nginx-config-files
12
+ #
13
+
14
+
15
+ server {
16
+ listen 80;
17
+ server_name localhost;
18
+
19
+ #charset koi8-r;
20
+ #access_log /var/log/nginx/host.access.log main;
21
+
22
+ location / {
23
+ root /usr/local/openresty/nginx/html;
24
+ index index.html index.htm;
25
+ }
26
+
27
+ #error_page 404 /404.html;
28
+
29
+ # redirect server error pages to the static page /50x.html
30
+ #
31
+ error_page 500 502 503 504 /50x.html;
32
+ location = /50x.html {
33
+ root /usr/local/openresty/nginx/html;
34
+ }
35
+
36
+ # proxy the PHP scripts to Apache listening on 127.0.0.1:80
37
+ #
38
+ #location ~ \.php$ {
39
+ # proxy_pass http://127.0.0.1;
40
+ #}
41
+
42
+ # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
43
+ #
44
+ #location ~ \.php$ {
45
+ # root /usr/local/openresty/nginx/html;
46
+ # fastcgi_pass 127.0.0.1:9000;
47
+ # fastcgi_index index.php;
48
+ # fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
49
+ # include fastcgi_params;
50
+ #}
51
+
52
+ # deny access to .htaccess files, if Apache's document root
53
+ # concurs with nginx's one
54
+ #
55
+ #location ~ /\.ht {
56
+ # deny all;
57
+ #}
58
+ }