nginx
This commit is contained in:
parent
1bafab6559
commit
e2dd2e1052
@ -58,7 +58,7 @@ services:
|
|||||||
FS_HOST: $FS_HOST
|
FS_HOST: $FS_HOST
|
||||||
DEBUG: $DEBUG
|
DEBUG: $DEBUG
|
||||||
TELEGRAM_TOKEN: $TELEGRAM_TOKEN
|
TELEGRAM_TOKEN: $TELEGRAM_TOKEN
|
||||||
command: ./manage.py runserver 0.0.0.0:8000 --noreload
|
command: ./manage.py runserver
|
||||||
ports:
|
ports:
|
||||||
- "8000:8000"
|
- "8000:8000"
|
||||||
depends_on:
|
depends_on:
|
||||||
|
@ -4,7 +4,6 @@ http {
|
|||||||
include mime.types;
|
include mime.types;
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name a.com;
|
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://127.0.0.1:8000; #/$1$is_args$args;
|
proxy_pass http://127.0.0.1:8000; #/$1$is_args$args;
|
||||||
|
Loading…
Reference in New Issue
Block a user