Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/ops
diff options
context:
space:
mode:
authorLeitwolf112026-09-09 20:28:28 +0300
committerLeitwolf112026-09-09 20:28:28 +0300
commita802df2b6ac62324c41f7f687d976ade25ee26a2 (patch)
treebbc7f65e5b2464f3b430b0a7e025955e41304a0c /ops
parentf081b5aa4e9b9594d64cd3dfaac2d6d7cc481abc (diff)
downloadwebsite-a802df2b6ac62324c41f7f687d976ade25ee26a2.tar.gz
Remove the retired Astro ViGet catalog duplicate and its static assets, simplify the Visual X# site layout back to language-only ownership, retire the obsolete viget.progmasoft.com Nginx origin blocks, and document the new Progmaweb catalog boundary.
Diffstat (limited to 'ops')
-rw-r--r--ops/nginx/xsharp.conf131
1 files changed, 0 insertions, 131 deletions
diff --git a/ops/nginx/xsharp.conf b/ops/nginx/xsharp.conf
index 340bf51..78e70b9 100644
--- a/ops/nginx/xsharp.conf
+++ b/ops/nginx/xsharp.conf
@@ -43,22 +43,6 @@ server {
server {
listen 80;
listen [::]:80;
- server_name viget.progmasoft.com;
- server_tokens off;
-
- location ^~ /.well-known/acme-challenge/ {
- root /var/lib/letsencrypt;
- default_type text/plain;
- }
-
- location / {
- return 301 https://viget.progmasoft.com$request_uri;
- }
-}
-
-server {
- listen 80;
- listen [::]:80;
server_name viget.xsharp-lang.xyz;
server_tokens off;
@@ -75,121 +59,6 @@ server {
server {
listen 443 ssl;
listen [::]:443 ssl;
- server_name viget.progmasoft.com;
-
- root /srv/xsharp/website/current/frontend/repo;
- index index.html;
- server_tokens off;
-
- ssl_certificate /etc/letsencrypt/live/progmasoft.com/fullchain.pem;
- ssl_certificate_key /etc/letsencrypt/live/progmasoft.com/privkey.pem;
- include /etc/letsencrypt/options-ssl-nginx.conf;
- ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
-
- include /etc/nginx/snippets/repository-security-headers.conf;
-
- location = /robots.txt {
- alias /srv/xsharp/website/current/frontend/viget-robots.txt;
- default_type text/plain;
- }
-
- location = /sitemap.xml {
- alias /srv/xsharp/website/current/frontend/viget-sitemap.xml;
- default_type application/xml;
- }
-
- location = /login {
- return 308 https://account.progmasoft.com/login$is_args$args;
- }
-
- location = /login/ {
- return 308 https://account.progmasoft.com/login$is_args$args;
- }
-
- location = /register {
- return 308 https://account.progmasoft.com/register$is_args$args;
- }
-
- location = /register/ {
- return 308 https://account.progmasoft.com/register$is_args$args;
- }
-
- location = /recover {
- return 308 https://account.progmasoft.com/recover$is_args$args;
- }
-
- location = /recover/ {
- return 308 https://account.progmasoft.com/recover$is_args$args;
- }
-
- location = /dashboard {
- return 308 https://account.progmasoft.com/$is_args$args;
- }
-
- location = /dashboard/ {
- return 308 https://account.progmasoft.com/$is_args$args;
- }
-
- location = /api/v1/status {
- proxy_http_version 1.1;
- proxy_pass http://127.0.0.1:5080;
- proxy_set_header Host $host;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- proxy_set_header X-Forwarded-Host $host;
- proxy_set_header X-Forwarded-Proto https;
- proxy_set_header X-Real-IP $remote_addr;
- }
-
- # Account registration and registry-token ownership use the canonical
- # Progmasoft Account service. ViGet does not expose its retired auth API.
- location ^~ /api/ {
- return 404;
- }
-
- location /_astro/ {
- alias /srv/xsharp/website/current/frontend/_astro/;
- include /etc/nginx/snippets/repository-security-headers.conf;
- add_header Cache-Control "public, max-age=31536000, immutable";
- }
-
- location /fonts/ {
- alias /srv/xsharp/website/current/frontend/fonts/;
- include /etc/nginx/snippets/repository-security-headers.conf;
- add_header Cache-Control "public, max-age=31536000, immutable";
- }
-
- location /scripts/ {
- alias /srv/xsharp/website/current/frontend/scripts/;
- include /etc/nginx/snippets/repository-security-headers.conf;
- add_header Cache-Control "public, max-age=3600";
- }
-
- location = /xsharp-logo.png {
- alias /srv/xsharp/website/current/frontend/xsharp-logo.png;
- }
-
- location = /xsharp-logo.webp {
- alias /srv/xsharp/website/current/frontend/xsharp-logo.webp;
- }
-
- location = /progmasoft-mark.svg {
- alias /srv/xsharp/website/current/frontend/progmasoft-mark.svg;
- }
-
- location / {
- include /etc/nginx/snippets/repository-security-headers.conf;
- add_header Cache-Control "private, no-store";
- try_files $uri $uri/ =404;
- }
-
- location ~ /\. {
- deny all;
- }
-}
-
-server {
- listen 443 ssl;
- listen [::]:443 ssl;
server_name viget.xsharp-lang.xyz;
server_tokens off;