AllRandom.gg

edit
allrandom.gg ↗ this.style.color='#555a62',1500)">ssh → /home/check0ut/aram-battles
Client
hozzae
Server
vps3302756 163.245.218.39
Port · Service
5005 · AllRandom.gg
Rate
All checks passed · nginx Apr 15 · service Apr 15
Nginx
server {
    server_name allrandom.gg www.allrandom.gg;

    location / {
        proxy_pass http://127.0.0.1:5005;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
    }

    client_max_body_size 10M;

    listen 443 ssl; # managed by Certbot
    ssl_certificate /etc/letsencrypt/live/allrandom.gg/fullchain.pem; # managed by Certbot
    ssl_certificate_key /etc/letsencrypt/live/allrandom.gg/privkey.pem; # managed by Certbot
    include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
    ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot


}
cat /etc/nginx/sites-available/allrandom.gg
or
Service Config
[Unit]
Description=AllRandom.gg
After=network.target

[Service]
User=check0ut
WorkingDirectory=/home/check0ut/aram-battles
EnvironmentFile=/home/check0ut/aram-battles/.env
ExecStart=/home/check0ut/aram-battles/venv/bin/gunicorn "app:create_app()" -c gunicorn.conf.py
Restart=always
RestartSec=5

[Install]
WantedBy=multi-user.target
cat /etc/systemd/system/AllRandom.gg.service
or