Skip to content

Commit

Permalink
IPs
Browse files Browse the repository at this point in the history
  • Loading branch information
fsoest committed Jan 1, 2025
1 parent 43169b4 commit 94591e1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion S1/S1/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
SECRET_KEY = os.getenv("SECRET_KEY")

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True # False
DEBUG = True

ALLOWED_HOSTS = ["s1.vatger.de", "s1.vatsim-germany.org"]

Expand Down
3 changes: 2 additions & 1 deletion config/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ server {
}

location / {
proxy_pass http://0.0.0.0:8016;
proxy_set_header Host $host;
proxy_pass http://127.0.0.1:8016;
}
}
2 changes: 1 addition & 1 deletion init.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
nginx -g "daemon on;"

crontab cron_schedule && crond
cd S1 && gunicorn S1.wsgi --bind 0.0.0.0:8016
cd S1 && gunicorn S1.wsgi --bind 127.0.0.1:8016

0 comments on commit 94591e1

Please sign in to comment.