open up Notepad or Notepad++ and paste in
server {
listen 443 ssl;
listen [::]:443 ssl;
# Change Server_name to your subdomain
server_name kavita.*;
include /config/nginx/ssl.conf;
client_max_body_size 0;
# enable for ldap auth, fill in ldap details in ldap.conf
#include /config/nginx/ldap.conf;
# enable for Authelia
#include /config/nginx/authelia-server.conf;
location / {
#include /config/nginx/authelia-location.conf;
include /config/nginx/proxy.conf;
set $upstream_app Kavita;
set $upstream_port 5000;
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
}
}
Do "Save As"
name it "kavita.subdomain.conf"
select "Save as Type" All Files
this will make it a .conf file
move this to your Appdata/swag/nginx/proxy-confs/
this is only for a Subdomain not a Subfolder.
also attached a copy if ya just wanna use that.
kavita.subdomain