forked from prehistoric-systems/comixify
Compare commits
4 commits
master
...
support_in
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b16893bc10 | ||
|
|
f7ed97ea46 | ||
|
|
5b43adfe08 | ||
|
|
0c43de6dea |
4 changed files with 13 additions and 16 deletions
|
|
@ -27,7 +27,6 @@ body {
|
||||||
.authors {
|
.authors {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
max-width: 500px;
|
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -134,4 +133,11 @@ button:focus {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
|
.authors {
|
||||||
|
flex-direction: column;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.authors div {
|
||||||
|
margin: 2.5px 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,9 @@
|
||||||
<div>
|
<div>
|
||||||
Paweł Andruszkiewicz
|
Paweł Andruszkiewicz
|
||||||
</div>
|
</div>
|
||||||
|
<div>
|
||||||
|
Przemysław Rokita
|
||||||
|
</div>
|
||||||
<div>
|
<div>
|
||||||
Tomasz Trzciński
|
Tomasz Trzciński
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
14
nginx.conf
14
nginx.conf
|
|
@ -6,16 +6,7 @@ upstream hello_server {
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name localhost;
|
server_name localhost;
|
||||||
return 301 https://$host$request_uri;
|
|
||||||
}
|
|
||||||
|
|
||||||
server {
|
|
||||||
listen 443;
|
|
||||||
server_name localhost;
|
|
||||||
client_max_body_size 50M;
|
client_max_body_size 50M;
|
||||||
ssl on;
|
|
||||||
ssl_certificate /etc/letsencrypt/live/comixify.ii.pw.edu.pl/fullchain.pem;
|
|
||||||
ssl_certificate_key /etc/letsencrypt/live/comixify.ii.pw.edu.pl/privkey.pem;
|
|
||||||
location / {
|
location / {
|
||||||
# everything is passed to Gunicorn
|
# everything is passed to Gunicorn
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
|
@ -27,10 +18,7 @@ server {
|
||||||
proxy_read_timeout 300;
|
proxy_read_timeout 300;
|
||||||
send_timeout 300;
|
send_timeout 300;
|
||||||
}
|
}
|
||||||
location ^~ /.well-known {
|
|
||||||
allow all;
|
|
||||||
root /data/letsencrypt/;
|
|
||||||
}
|
|
||||||
location /static/ {
|
location /static/ {
|
||||||
alias /comixify/static/;
|
alias /comixify/static/;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ with open(os.path.join(BASE_DIR, 'secretkey.txt')) as f:
|
||||||
# SECURITY WARNING: don't run with debug turned on in production!
|
# SECURITY WARNING: don't run with debug turned on in production!
|
||||||
DEBUG = os.environ.get('DEBUG') == 'true'
|
DEBUG = os.environ.get('DEBUG') == 'true'
|
||||||
|
|
||||||
ALLOWED_HOSTS = ['35.241.250.34', 'comixify.ii.pw.edu.pl', 'localhost', '127.0.0.1']
|
ALLOWED_HOSTS = ['35.233.41.32', '35.195.198.74', '35.241.250.34', 'comixify.ii.pw.edu.pl', 'localhost', '127.0.0.1']
|
||||||
|
|
||||||
# Application definition
|
# Application definition
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue