Compare commits

...

4 commits

Author SHA1 Message Date
adamsvystun
b16893bc10 Fix authors centering on mobile 2018-12-14 20:34:04 +01:00
adamsvystun
f7ed97ea46 Fix authors wrapping on mobile 2018-12-14 17:20:48 +01:00
adamsvystun
5b43adfe08 Update project authors on support instance 2018-12-14 16:51:14 +01:00
maciej3031
0c43de6dea Add supporting config 2018-12-12 23:36:05 +00:00
4 changed files with 13 additions and 16 deletions

View file

@ -27,7 +27,6 @@ body {
.authors {
display: flex;
justify-content: space-between;
max-width: 500px;
margin: 0 auto;
}
@ -134,4 +133,11 @@ button:focus {
margin-top: 0;
border-radius: 0;
}
.authors {
flex-direction: column;
text-align: center;
}
.authors div {
margin: 2.5px 0;
}
}

View file

@ -23,6 +23,9 @@
<div>
Paweł Andruszkiewicz
</div>
<div>
Przemysław Rokita
</div>
<div>
Tomasz Trzciński
</div>

View file

@ -6,16 +6,7 @@ upstream hello_server {
server {
listen 80;
server_name localhost;
return 301 https://$host$request_uri;
}
server {
listen 443;
server_name localhost;
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 / {
# everything is passed to Gunicorn
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
@ -27,10 +18,7 @@ server {
proxy_read_timeout 300;
send_timeout 300;
}
location ^~ /.well-known {
allow all;
root /data/letsencrypt/;
}
location /static/ {
alias /comixify/static/;
}

View file

@ -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!
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