diff --git a/sites-enabled/admin_panel.conf b/sites-enabled/admin_panel.conf index 59eab34..2a0d413 100644 --- a/sites-enabled/admin_panel.conf +++ b/sites-enabled/admin_panel.conf @@ -7,7 +7,7 @@ server { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; - proxy_pass http://production_k8s; + proxy_pass http://k8s_production; } location / { @@ -15,6 +15,6 @@ server { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; - proxy_pass http://production_k8s; + proxy_pass http://k8s_production; } } diff --git a/sites-enabled/air_conditioning.conf b/sites-enabled/air_conditioning.conf index 6b785f2..9bc6caf 100644 --- a/sites-enabled/air_conditioning.conf +++ b/sites-enabled/air_conditioning.conf @@ -13,7 +13,7 @@ server { proxy_cache_bypass $http_upgrade; proxy_buffering off; - proxy_pass http://production_k8s; + proxy_pass http://k8s_production; } location / { @@ -21,6 +21,6 @@ server { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; - proxy_pass http://production_k8s; + proxy_pass http://k8s_production; } } diff --git a/sites-enabled/assets.conf b/sites-enabled/assets.conf index 7c5242b..ba1e4a2 100644 --- a/sites-enabled/assets.conf +++ b/sites-enabled/assets.conf @@ -8,7 +8,7 @@ server { proxy_set_header Host $http_host; rewrite /profile-backgrounds/(.*) /public/api/v1/profile-backgrounds/$1 break; - proxy_pass http://production_k8s; + proxy_pass http://k8s_production; } # If they hit /{filename} directly, default to avatars @@ -19,6 +19,6 @@ server { add_header Cache-Control no-cache; rewrite /(.*) /public/api/v1/avatars/$1 break; - proxy_pass http://production_k8s; + proxy_pass http://k8s_production; } } diff --git a/sites-enabled/bancho.conf b/sites-enabled/bancho.conf index 2b3b781..44ca932 100644 --- a/sites-enabled/bancho.conf +++ b/sites-enabled/bancho.conf @@ -10,7 +10,7 @@ server { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; - proxy_pass http://production_k8s; + proxy_pass http://k8s_production; } location /api { @@ -27,7 +27,7 @@ server { add_header 'Access-Control-Allow-Methods' 'GET, POST, PUT, PATCH, DELETE, OPTIONS'; add_header 'Access-Control-Allow-Headers' '*'; - proxy_pass http://production_k8s; + proxy_pass http://k8s_production; } } diff --git a/sites-enabled/beatmaps.conf b/sites-enabled/beatmaps.conf index ad38561..c8f5d8c 100644 --- a/sites-enabled/beatmaps.conf +++ b/sites-enabled/beatmaps.conf @@ -11,6 +11,6 @@ server { proxy_set_header Host $http_host; rewrite /(.*) /public/$1 break; - proxy_pass http://production_k8s; + proxy_pass http://k8s_production; } } diff --git a/sites-enabled/frontend.conf b/sites-enabled/frontend.conf index d37f967..027cc9c 100644 --- a/sites-enabled/frontend.conf +++ b/sites-enabled/frontend.conf @@ -26,7 +26,7 @@ server { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; - proxy_pass http://production_k8s; + proxy_pass http://k8s_production; } # /web/replays for replay downloads (hanayo) @@ -38,7 +38,7 @@ server { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; - proxy_pass http://production_k8s; + proxy_pass http://k8s_production; } # Redirect osu! avatar edit to hanayo @@ -60,7 +60,7 @@ server { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; - proxy_pass http://production_k8s; + proxy_pass http://k8s_production; } location /api/v1/profile-history { @@ -74,7 +74,7 @@ server { proxy_set_header X-Real-IP $http_CF_Connecting_IP; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; - proxy_pass http://production_k8s; + proxy_pass http://k8s_production; } # https://osu.ppy.sh/beatmapsets/1117775#osu/2334952 -> https://osu.ppy.sh/b/2334952 @@ -94,6 +94,6 @@ server { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; - proxy_pass http://production_k8s; + proxy_pass http://k8s_production; } } diff --git a/sites-enabled/next.conf b/sites-enabled/next.conf index 60cb86e..7d92cda 100644 --- a/sites-enabled/next.conf +++ b/sites-enabled/next.conf @@ -16,7 +16,7 @@ server { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; - proxy_pass http://production_k8s; + proxy_pass http://k8s_production; } location /api/v1/profile-history { @@ -30,7 +30,7 @@ server { proxy_set_header X-Real-IP $http_CF_Connecting_IP; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; - proxy_pass http://production_k8s; + proxy_pass http://k8s_production; } location /api/v1/authenticate { @@ -46,7 +46,7 @@ server { proxy_set_header Host $http_host; rewrite /(.*) /public/$1 break; - proxy_pass http://production_k8s; + proxy_pass http://k8s_production; } location / { @@ -54,6 +54,6 @@ server { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; - proxy_pass http://production_k8s; + proxy_pass http://k8s_production; } } diff --git a/sites-enabled/payments.conf b/sites-enabled/payments.conf index 433f349..3b2b347 100644 --- a/sites-enabled/payments.conf +++ b/sites-enabled/payments.conf @@ -7,6 +7,6 @@ server { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; - proxy_pass http://production_k8s; + proxy_pass http://k8s_production; } } diff --git a/sites-enabled/performance.conf b/sites-enabled/performance.conf index 10b7e0c..9b81bab 100644 --- a/sites-enabled/performance.conf +++ b/sites-enabled/performance.conf @@ -7,6 +7,6 @@ server { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; - proxy_pass http://production_k8s; + proxy_pass http://k8s_production; } } diff --git a/sites-enabled/rework_frontend.conf b/sites-enabled/rework_frontend.conf index 24ffe94..0681664 100644 --- a/sites-enabled/rework_frontend.conf +++ b/sites-enabled/rework_frontend.conf @@ -7,6 +7,6 @@ server { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; - proxy_pass http://production_k8s; + proxy_pass http://k8s_production; } } diff --git a/sites-enabled/upstreams.conf b/sites-enabled/upstreams.conf index 86fc0c9..bb7bddf 100644 --- a/sites-enabled/upstreams.conf +++ b/sites-enabled/upstreams.conf @@ -1,4 +1,4 @@ -upstream production_k8s { +upstream k8s_production { server 138.197.146.243:30000; server 165.227.32.227:30000; server 68.183.194.110:30000; diff --git a/sites-enabled/users.conf b/sites-enabled/users.conf index 148d8a3..364e372 100644 --- a/sites-enabled/users.conf +++ b/sites-enabled/users.conf @@ -11,6 +11,6 @@ server { proxy_set_header Host $http_host; rewrite /(.*) /public/$1 break; - proxy_pass http://production_k8s; + proxy_pass http://k8s_production; } } diff --git a/sites-enabled/web.conf b/sites-enabled/web.conf index 899669f..92a2327 100644 --- a/sites-enabled/web.conf +++ b/sites-enabled/web.conf @@ -11,7 +11,7 @@ server { proxy_set_header X-Real-IP $http_CF_Connecting_IP; proxy_set_header Host $http_host; - proxy_pass http://production_k8s; + proxy_pass http://k8s_production; } location /api/v1/pp { @@ -19,7 +19,7 @@ server { proxy_set_header X-Real-IP $http_CF_Connecting_IP; proxy_set_header Host $http_host; - proxy_pass http://production_k8s; + proxy_pass http://k8s_production; } location /api/ { @@ -30,7 +30,7 @@ server { proxy_set_header X-Real-IP $http_CF_Connecting_IP; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; - proxy_pass http://production_k8s; + proxy_pass http://k8s_production; } location /d/ { @@ -38,7 +38,7 @@ server { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; - proxy_pass http://production_k8s; + proxy_pass http://k8s_production; } location ~ ^/ss/(.*) { @@ -46,7 +46,7 @@ server { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; - proxy_pass http://production_k8s; + proxy_pass http://k8s_production; } location ~^/notifications {