We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63db8fc commit 6e133e1Copy full SHA for 6e133e1
nginx.conf
@@ -1,9 +1,31 @@
1
-server {
2
- listen 80;
3
-
4
- location / {
5
- root /usr/share/nginx/html;
6
- index index.html;
7
- try_files $uri $uri/ /index.html;
8
- }
+server
+{
+ listen 80;
+
+ location /discord
+ {
+ return 302 https://discord.gg/MXSDuqrdmc;
+ }
9
10
+ location /static
11
12
+ root /nginx-shared;
13
+ autoindex on;
14
+ sendfile on;
15
+ sendfile_max_chunk 1m;
16
+ tcp_nodelay on;
17
+ keepalive_timeout 65;
18
19
20
+ location /learning-resources/
21
22
+ proxy_pass https://learningresources.developerden.net/;
23
24
25
+ location /
26
27
+ root /usr/share/nginx/html;
28
+ index index.html;
29
+ try_files $uri $uri/ /index.html;
30
31
}
0 commit comments