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

summaryrefslogtreecommitdiffhomepage
path: root/ops
diff options
context:
space:
mode:
authorLeitwolf112026-08-28 18:58:48 +0300
committerLeitwolf112026-08-28 18:58:48 +0300
commit054cf32141cc8ec5ec0b7db0e17c676e60638ca1 (patch)
tree88a4fd2e4c8154d23f4624a6a831c26140b3ea9b /ops
parent397a80b245a235ae0e3958787273ed5cdd61acf1 (diff)
downloadwebsite-054cf32141cc8ec5ec0b7db0e17c676e60638ca1.tar.gz
Remove the retired Java catalog host
Diffstat (limited to 'ops')
-rw-r--r--ops/nginx/xsharp.conf47
1 files changed, 0 insertions, 47 deletions
diff --git a/ops/nginx/xsharp.conf b/ops/nginx/xsharp.conf
index 40462cc..f7cb3b7 100644
--- a/ops/nginx/xsharp.conf
+++ b/ops/nginx/xsharp.conf
@@ -33,53 +33,6 @@ server {
server {
listen 443 ssl;
listen [::]:443 ssl;
- server_name java.xsharp-lang.xyz;
-
- root /srv/xsharp/website/current/frontend/java;
- index index.html;
- server_tokens off;
-
- ssl_certificate /etc/letsencrypt/live/xsharp-lang.xyz/fullchain.pem;
- ssl_certificate_key /etc/letsencrypt/live/xsharp-lang.xyz/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 /_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 = /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 / {
- include /etc/nginx/snippets/repository-security-headers.conf;
- add_header Cache-Control "public, max-age=300";
- try_files $uri $uri/ =404;
- }
-
- location ~ /\. {
- deny all;
- }
-}
-
-server {
- listen 443 ssl;
- listen [::]:443 ssl;
server_name viget.xsharp-lang.xyz;
root /srv/xsharp/website/current/frontend/repo;