Skip to content

Commit a36dc36

Browse files
committed
kahluaband#41 Feat. set uwsgi_read_timeout
1 parent 7fa230f commit a36dc36

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

.config/nginx/kahluaproject.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ server {
66

77
location / {
88
uwsgi_pass unix:///tmp/kahluaproject.sock;
9+
uwsgi_read_timeout 300;
910
include uwsgi_params;
1011
}
1112

kahluaproject/settings.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,7 @@
4848
# SECURITY WARNING: don't run with debug turned on in production!
4949
DEBUG = True
5050

51-
<<<<<<< HEAD
52-
ALLOWED_HOSTS = ['0.0.0.0', '127.0.0.1', 'localhost',
53-
".ap-northeast-2.compute.amazonaws.com", ".kahluaband.com"]
54-
=======
55-
ALLOWED_HOSTS = ['0.0.0.0', '127.0.0.1', 'localhost', ".ap-northeast-2.compute.amazonaws.com"]
56-
>>>>>>> dc4dd0ef09452d301a714d2274ad8dea82967b6f
51+
ALLOWED_HOSTS = ['0.0.0.0', '127.0.0.1', 'localhost', ".ap-northeast-2.compute.amazonaws.com", ".kahluaband.com"]
5752

5853
# Application definition
5954
AUTH_USER_MODEL = 'users.User'

0 commit comments

Comments
 (0)