Skip to content

Commit 8355cdc

Browse files
authored
Update pterodactyl.subdomain.conf.sample - attempt to fix whitespace
1 parent b3b500a commit 8355cdc

1 file changed

Lines changed: 34 additions & 34 deletions

File tree

pterodactyl.subdomain.conf.sample

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -6,43 +6,43 @@
66
# make sure that your dns has a cname set for pterodactyl
77

88
server {
9-
listen 443 ssl;
10-
listen [::]:443 ssl;
9+
listen 443 ssl;
10+
listen [::]:443 ssl;
1111

12-
server_name pterodactyl.*;
12+
server_name pterodactyl.*;
1313

14-
include /config/nginx/ssl.conf;
14+
include /config/nginx/ssl.conf;
1515

16-
client_max_body_size 0;
16+
client_max_body_size 0;
1717

1818
# enable for ldap auth (requires ldap-location.conf in the location block)
19-
#include /config/nginx/ldap-server.conf;
20-
21-
# enable for Authelia (requires authelia-location.conf in the location block)
22-
#include /config/nginx/authelia-server.conf;
23-
24-
# enable for Authentik (requires authentik-location.conf in the location block)
25-
#include /config/nginx/authentik-server.conf;
26-
27-
location / {
28-
# enable the next two lines for http auth
29-
#auth_basic "Restricted";
30-
#auth_basic_user_file /config/nginx/.htpasswd;
31-
32-
# enable for ldap auth (requires ldap-server.conf in the server block)
33-
#include /config/nginx/ldap-location.conf;
34-
35-
# enable for Authelia (requires authelia-server.conf in the server block)
36-
#include /config/nginx/authelia-location.conf;
37-
38-
# enable for Authentik (requires authentik-server.conf in the server block)
39-
#include /config/nginx/authentik-location.conf;
40-
include /config/nginx/proxy.conf;
41-
include /config/nginx/resolver.conf;
42-
set $upstream_app pterodactyl;
43-
set $upstream_port 80;
44-
set $upstream_proto http;
45-
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
46-
47-
}
19+
#include /config/nginx/ldap-server.conf;
20+
21+
# enable for Authelia (requires authelia-location.conf in the location block)
22+
#include /config/nginx/authelia-server.conf;
23+
24+
# enable for Authentik (requires authentik-location.conf in the location block)
25+
#include /config/nginx/authentik-server.conf;
26+
27+
location / {
28+
# enable the next two lines for http auth
29+
#auth_basic "Restricted";
30+
#auth_basic_user_file /config/nginx/.htpasswd;
31+
32+
# enable for ldap auth (requires ldap-server.conf in the server block)
33+
#include /config/nginx/ldap-location.conf;
34+
35+
# enable for Authelia (requires authelia-server.conf in the server block)
36+
#include /config/nginx/authelia-location.conf;
37+
38+
# enable for Authentik (requires authentik-server.conf in the server block)
39+
#include /config/nginx/authentik-location.conf;
40+
include /config/nginx/proxy.conf;
41+
include /config/nginx/resolver.conf;
42+
set $upstream_app pterodactyl;
43+
set $upstream_port 80;
44+
set $upstream_proto http;
45+
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
46+
47+
}
4848
}

0 commit comments

Comments
 (0)