mirror of
https://github.com/UiO-Gaming/drift.git
synced 2026-11-05 13:56:46 +01:00
add ha.uiogaming.no and name100.uiogaming.no
This commit is contained in:
2 files changed
+96
-1
No files matched your search
@@ -22,6 +22,10 @@
|
||||
|
||||
`umami.uiogaming.no` -> Vår instans av [Umami](https://github.com/umami-software/umami).
|
||||
|
||||
`ha.uiogaming.no` -> En instans av [HomeAssistant](https://github.com/home-assistant)
|
||||
|
||||
`name100.uiogaming.no` -> Et web-spill der man skal gjette et satt antall Discordbruker- og kallenavn på UiO Gamere så fort som mulig. [Repo](https://github.com/UiO-Gaming/name-100-uio-gamers)
|
||||
|
||||
### Dokumenter
|
||||
|
||||
`vedtekter.uiogaming.no` -> Returnerer UiO Gaming sine nåværende vedtekter
|
||||
|
||||
+92
-1
@@ -120,6 +120,27 @@ server {
|
||||
|
||||
}
|
||||
|
||||
server {
|
||||
server_name name100.uiogaming.no;
|
||||
|
||||
# Global config
|
||||
include global/global.conf;
|
||||
|
||||
location / {
|
||||
proxy_set_header Host $host;
|
||||
proxy_pass http://127.0.0.1:5200;
|
||||
proxy_redirect off;
|
||||
}
|
||||
|
||||
|
||||
listen 443 ssl; # managed by Certbot
|
||||
ssl_certificate /etc/letsencrypt/live/name100.uiogaming.no/fullchain.pem; # managed by Certbot
|
||||
ssl_certificate_key /etc/letsencrypt/live/name100.uiogaming.no/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
|
||||
|
||||
}
|
||||
|
||||
|
||||
server {
|
||||
server_name infoskjerm.uiogaming.no;
|
||||
@@ -143,6 +164,34 @@ server {
|
||||
|
||||
}
|
||||
|
||||
server {
|
||||
server_name ha.uiogaming.no;
|
||||
|
||||
# Global config
|
||||
#include global/global.conf;
|
||||
|
||||
location / {
|
||||
proxy_set_header Host $host;
|
||||
proxy_pass http://158.36.190.233:8123;
|
||||
proxy_redirect off;
|
||||
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;
|
||||
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
}
|
||||
|
||||
|
||||
listen 443 ssl; # managed by Certbot
|
||||
ssl_certificate /etc/letsencrypt/live/ha.uiogaming.no/fullchain.pem; # managed by Certbot
|
||||
ssl_certificate_key /etc/letsencrypt/live/ha.uiogaming.no/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
|
||||
|
||||
}
|
||||
|
||||
server {
|
||||
server_name kuma.uiogaming.no;
|
||||
|
||||
@@ -424,7 +473,7 @@ server {
|
||||
|
||||
server {
|
||||
server_name twitch.uiogaming.no;
|
||||
|
||||
|
||||
# Global config
|
||||
include global/global.conf;
|
||||
|
||||
@@ -1071,3 +1120,45 @@ server {
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
server {
|
||||
if ($host = ha.uiogaming.no) {
|
||||
return 301 https://$host$request_uri;
|
||||
} # managed by Certbot
|
||||
|
||||
|
||||
server_name ha.uiogaming.no;
|
||||
listen 80;
|
||||
return 404; # managed by Certbot
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
server {
|
||||
if ($host = name100.uiogaming.no) {
|
||||
return 301 https://$host$request_uri;
|
||||
} # managed by Certbot
|
||||
|
||||
|
||||
server_name name100.uiogaming.no;
|
||||
listen 80;
|
||||
return 404; # managed by Certbot
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
server {
|
||||
if ($host = kart.uiogaming.no) {
|
||||
return 301 https://$host$request_uri;
|
||||
} # managed by Certbot
|
||||
|
||||
|
||||
server_name kart.uiogaming.no;
|
||||
listen 80;
|
||||
return 404; # managed by Certbot
|
||||
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user