Public Directory - Printable Version +- Jellyfin Forum (https://forum.jellyfin.org) +-- Forum: Development (https://forum.jellyfin.org/f-development) +--- Forum: Server Development (https://forum.jellyfin.org/f-server-development) +--- Thread: Public Directory (/t-public-directory) |
Public Directory - Nast - 2023-07-23 Hello everyone, I currently have my jellyfin server installed on a Windows 10 pro. I added an https certificate with certbot. But I'll need access to the web server's public directory to make the certificate renewal automatic. Where is this public directory? Is it accessible? Thanks in advance RE: Public Directory - xaque - 2023-07-23 Not a direct answer to your question but a solution none the less. Use caddy and reverse proxy jellyfin. Handles cert renewals and in my opinion is so much more easy than the other solutions, ie traefik, haproxy, nginx, what you're currently trying to do. RE: Public Directory - Nast - 2023-07-23 (2023-07-23, 07:18 PM)xaque Wrote: Not a direct answer to your question but a solution none the less. What do you mean about reverse proxy ? RE: Public Directory - Nast - 2023-07-25 I found the web directory folder. My new question is: can I modify the configuration files to remove the /web (example: <domainname>/web/... = <domainname>/...)? RE: Public Directory - skribe - 2023-07-25 (2023-07-25, 11:30 AM)Nast Wrote: I found the web directory folder. To be clear: If you are trying to modify the jellyfin web code to validate your certificate you should stop. This is ill advised. This process is generally carried out by hosting a temporary webserver to provide validation. Many Let's Encrypt clients will do this for you, even. There are also other ways to verify your ownership, such as using DNS records. You definitely do now want to (and should not need to) modify anything about the way jellyfin behaves to accomplish your goal. In general, though, it sounds like your ultimate objectives would be best served by using a reverse proxy to proxy jellyfin to whatever address you want. We have some documentation on caddy, which is a simple to use reverse proxy solution, here: https://jellyfin.org/docs/general/networking/caddy/ If you're on windows, there is also a detailed setup guide that includes caddy installation here: https://jellyfin.org/docs/general/quick-start/windows |