updated config file
This commit is contained in:
parent
6d19a616a8
commit
3c7763493a
3 changed files with 24 additions and 2 deletions
21
config/ort.conf
Normal file
21
config/ort.conf
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
server {
|
||||||
|
listen 8000;
|
||||||
|
listen [::]:8000;
|
||||||
|
server_name oldrabbit.town;
|
||||||
|
|
||||||
|
#access_log /var/log/nginx/host.access.log main;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
root /usr/share/nginx/html;
|
||||||
|
index index.html index.htm;
|
||||||
|
}
|
||||||
|
#error_page 404 /404.html;
|
||||||
|
|
||||||
|
# redirect server error pages to the static page /50x.html
|
||||||
|
#
|
||||||
|
error_page 500 502 503 504 /50x.html;
|
||||||
|
location = /50x.html {
|
||||||
|
root /usr/share/nginx/html;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -2,6 +2,7 @@ services:
|
||||||
nginx:
|
nginx:
|
||||||
image: nginx
|
image: nginx
|
||||||
ports:
|
ports:
|
||||||
- 8000:80
|
- 8000:8000
|
||||||
volumes:
|
volumes:
|
||||||
- ./src:/usr/share/nginx/html
|
- ./src:/usr/share/nginx/html
|
||||||
|
- ./config:/etc/nginx/conf.d
|
||||||
Loading…
Add table
Reference in a new issue