template: sample scripts for each function. also reworked the backup script + checked it with actual_server
This commit is contained in:
16
template/example_authed.knravish.me.conf
Normal file
16
template/example_authed.knravish.me.conf
Normal file
@@ -0,0 +1,16 @@
|
||||
server {
|
||||
server_name example_authed.knravish.me;
|
||||
index index.html index.htm;
|
||||
|
||||
include /etc/nginx/snippets/authelia-location.conf;
|
||||
|
||||
set $upstream http://127.0.0.1:<placeholder>;
|
||||
|
||||
location / {
|
||||
include /etc/nginx/snippets/proxy.conf;
|
||||
include /etc/nginx/snippets/authelia-authrequest.conf;
|
||||
proxy_pass $upstream;
|
||||
}
|
||||
|
||||
listen 80;
|
||||
}
|
||||
Reference in New Issue
Block a user