diff --git a/Nginx/Server Blocks/git.libraryofcode.org.conf b/Nginx/Server Blocks/git.libraryofcode.org.conf deleted file mode 100644 index ba45f70..0000000 --- a/Nginx/Server Blocks/git.libraryofcode.org.conf +++ /dev/null @@ -1,12 +0,0 @@ -server { - listen 443 ssl http2; - listen [::]:443 ssl http2; - server_name git.libraryofcode.org; - - ssl_certificate /etc/nginx/ssl/org.chain.crt; - ssl_certificate_key /etc/nginx/ssl/org.key.pem; - - location / { - proxy_pass http://localhost:3056; - } -} diff --git a/Nginx/html/cs/404.html b/Nginx/html/cs/404.html index 1b92047..3f13295 100644 --- a/Nginx/html/cs/404.html +++ b/Nginx/html/cs/404.html @@ -1,25 +1,87 @@ - + + + + + Library of Code - - - -

404 NOT FOUND

-

The location you requested has not been found on this gateway.

-

User

-

If you're just visiting the site, here are the steps you can take.

-
    -
  1. You may have entered the wrong address, please check the URL and try again.
  2. -
  3. Check with the person who gave you the URL to ensure it's correct.
  4. -
-

Site Operator

-

If you're the operator of this site, here are the steps you can take.

-
    -
  1. This domain isn't registered with our systems. Please contact Engineering to bind this domain.
  2. -
  3. If none of these solved your issue, please contact the Department of Engineering at engineering@libraryofcode.org
  4. -
-
Library of Code sp-us
- -
GlobalSign nv-sa
+ + + + + +
+

404 NOT FOUND

+

The location you requested has not been found on this gateway.

+

User

+

If you're just visiting the site, here are the steps you can take.

+
    +
  1. + You may have entered the wrong address, please check the URL and try + again. +
  2. +
  3. + Check with the person who gave you the URL to ensure it's correct. +
  4. +
+

Site Operator

+

+ If you're the operator of this site, here are the steps you can take. +

+
    +
  1. + This domain isn't registered with our systems. Please contact + Engineering to bind this domain. +
  2. +
  3. + If none of these solved your issue, please contact the Department of + Engineering at engineering@libraryofcode.org +
  4. +
+
+
+ Library of Code sp-us +
+
+ + + + + + +
+ GlobalSign nv-sa + +
+ diff --git a/Nginx/html/cs/429.html b/Nginx/html/cs/429.html index 59582a5..d026df0 100644 --- a/Nginx/html/cs/429.html +++ b/Nginx/html/cs/429.html @@ -1,27 +1,93 @@ - + + + + + Library of Code - - - -

429 TOO MANY REQUESTS

-

You are sending too many requests, slow down.

-

User

-

If you're just visiting the site, here are the steps you can take.

-
    -
  1. Refrain from requesting the same resource or multiple resources on the same domain multiple times.
  2. -
  3. Try refreshing the page.
  4. -
  5. Try again in 5 minutes.
  6. -
-

Site Operator

-

If you're the operator of this site, here are the steps you can take.

-
    -
  1. CWG is receiving too many requests from your IP address to this upstream server link, slow down.
  2. -
  3. Make sure you're not requesting your domain multiple times in your frontend.
  4. -
  5. If none of these solved your issue, please contact the Department of Engineering at engineering@libraryofcode.org
  6. -
-
Library of Code sp-us
- -
GlobalSign nv-sa
+ + + + + +
+

429 TOO MANY REQUESTS

+

You are sending too many requests, slow down.

+

User

+

If you're just visiting the site, here are the steps you can take.

+
    +
  1. + Refrain from requesting the same resource or multiple resources on the + same domain multiple times. +
  2. +
  3. Try refreshing the page.
  4. +
  5. Try again in 5 minutes.
  6. +
+

Site Operator

+

+ If you're the operator of this site, here are the steps you can take. +

+
    +
  1. + CWG is receiving too many requests from your IP address to this + upstream server link, slow down. +
  2. +
  3. + Make sure you're not requesting your domain multiple times in your + frontend. +
  4. +
  5. + If none of these solved your issue, please contact the Department of + Engineering at engineering@libraryofcode.org +
  6. +
+
+
+ Library of Code sp-us +
+
+ + + + + + +
+ GlobalSign nv-sa + +
+ diff --git a/Nginx/html/cs/500.html b/Nginx/html/cs/500.html index e805cac..a2c21ef 100644 --- a/Nginx/html/cs/500.html +++ b/Nginx/html/cs/500.html @@ -1,8 +1,27 @@ - + + + + + Library of Code - + + + + + + +
+

500 Internal Server Error

+

Something went wrong while trying to process the request.

+

+ Click here to report this problem to the Department of + Engineering +

+

User

+

If you're just visiting the site, here are the steps you can take.

+
    +
  1. Try refreshing the page.
  2. +
  3. Try again in 5 minutes.
  4. +
+

Site Operator

+

+ If you're the operator of this site, here are the steps you can take. +

+
    +
  1. + An unknown error has occurred while attempting to process the request, + there may be an issue with the gateway itself. +
  2. +
  3. + Make sure there's no announcement, issue, or maintenance posts. If + there aren't, please contact us. +
  4. +
  5. + If none of these solved your issue, please contact the Department of + Engineering at engineering@libraryofcode.org +
  6. +
+
+
+ Library of Code sp-us +
+
+ + + + + + +
+ GlobalSign nv-sa + +
+ diff --git a/Nginx/html/cs/502.html b/Nginx/html/cs/502.html index edc489d..085ac2b 100644 --- a/Nginx/html/cs/502.html +++ b/Nginx/html/cs/502.html @@ -1,42 +1,114 @@ - + + + + + Library of Code - + + - - - -

502 Bad Gateway

-

We received an invalid response from the upstream server.

-

Click here to report this problem to the Department of Engineering

-

User

-

If you're just visiting the site, here are the steps you can take.

-
    -
  1. Try again in 5 minutes.
  2. -
  3. Contact the site owner for assistance.
  4. -
-

Site Operator

-

If you're the operator of this site, here are the steps you can take.

-
    -
  1. This code generally means our gateway received CONNECTION REFUSED while trying to communicate with your application, which means it's not listening on the port.
  2. -
  3. We could be listening on another port than the one you're using, make sure you're using the port given to you by Engineering.
  4. -
  5. If none of these solved your issue, please contact the Department of Engineering at engineering@libraryofcode.org
  6. -
-
Library of Code sp-us
- -
GlobalSign nv-sa
+ src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js" + integrity="sha384-geWF76RCwLtnZ8qwWowPQNguL3RmwHVBC9FhGdlKrxdiJJigb/j/68SIy3Te4Bkz" + crossorigin="anonymous" + > + + + + + +
+

502 Bad Gateway

+

We received an invalid response from the upstream server.

+

+ Click here to report this problem to the Department of + Engineering +

+

User

+

If you're just visiting the site, here are the steps you can take.

+
    +
  1. Try again in 5 minutes.
  2. +
  3. Contact the site owner for assistance.
  4. +
+

Site Operator

+

+ If you're the operator of this site, here are the steps you can take. +

+
    +
  1. + This code generally means our gateway received + CONNECTION REFUSED while trying to communicate with your + application, which means it's not listening on the port. +
  2. +
  3. + We could be listening on another port than the one you're using, make + sure you're using the port given to you by Engineering. +
  4. +
  5. + If none of these solved your issue, please contact the Department of + Engineering at engineering@libraryofcode.org +
  6. +
+
+
+ Library of Code sp-us +
+
+ + + + + + +
+ GlobalSign nv-sa + +
+ diff --git a/Nginx/html/cs/504.html b/Nginx/html/cs/504.html index 9656a6d..7f70ed2 100644 --- a/Nginx/html/cs/504.html +++ b/Nginx/html/cs/504.html @@ -1,42 +1,115 @@ - + + + + + Library of Code - + + - - - -

504 Gateway Timeout

-

We couldn't contact the upstream server within a reasonable amount of time.

-

Click here to report this problem to the Department of Engineering

-

User

-

If you're just visiting the site, here are the steps you can take.

-
    -
  1. Try again in 5 minutes.
  2. -
  3. Contact the site owner for assistance.
  4. -
-

Site Operator

-

If you're the operator of this site, here are the steps you can take.

-
    -
  1. When 504 is thrown, this generally means the upstream application accepted the request, however it didn't respond within a reasonable amount of time. This may mean that there's an uncaught error in your application.
  2. -
  3. Check your server logs for errors.
  4. -
  5. If none of these solved your issue, please contact the Department of Engineering at engineering@libraryofcode.org
  6. -
-
Library of Code sp-us
- -
GlobalSign nv-sa
+ src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js" + integrity="sha384-geWF76RCwLtnZ8qwWowPQNguL3RmwHVBC9FhGdlKrxdiJJigb/j/68SIy3Te4Bkz" + crossorigin="anonymous" + > + + + + + +
+

504 Gateway Timeout

+

+ We couldn't contact the upstream server within a reasonable amount of + time. +

+

+ Click here to report this problem to the Department of + Engineering +

+

User

+

If you're just visiting the site, here are the steps you can take.

+
    +
  1. Try again in 5 minutes.
  2. +
  3. Contact the site owner for assistance.
  4. +
+

Site Operator

+

+ If you're the operator of this site, here are the steps you can take. +

+
    +
  1. + When 504 is thrown, this generally means the upstream application + accepted the request, however it didn't respond within a reasonable + amount of time. This may mean that there's an uncaught error in your + application. +
  2. +
  3. Check your server logs for errors.
  4. +
  5. + If none of these solved your issue, please contact the Department of + Engineering at engineering@libraryofcode.org +
  6. +
+
+
+ Library of Code sp-us +
+
+ + + + + + +
+ GlobalSign nv-sa + +
+