Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT] stash proxy conf #702

Open
1 task done
binarygeek119 opened this issue Oct 14, 2024 · 1 comment
Open
1 task done

[FEAT] stash proxy conf #702

binarygeek119 opened this issue Oct 14, 2024 · 1 comment
Labels
enhancement New feature or request no-issue-activity

Comments

@binarygeek119
Copy link

Is this a new feature request?

  • I have searched the existing issues

Wanted change

add a stash proxy subdomain conf to swag.
stash is a x rated jellyfin like app.
on the website for stash they show a config thats good. i just like it added in with the others for ease of use and updating.

https://docs.stashapp.cc/networking/reverse-proxy/

Reason for change

its missing

Proposed code change

#make sure that your dns has a cname set for stash

server {
    listen 443 ssl;
    listen [::]:443 ssl;

    server_name stash.*;

    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;

    location / {
        # enable the next two lines for http auth
        #auth_basic "Restricted";
        #auth_basic_user_file /config/nginx/.htpasswd;

        # enable the next two lines for ldap auth
        #auth_request /auth;
        #error_page 401 =200 /login;

        include /config/nginx/proxy.conf;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
        resolver 127.0.0.11 valid=30s;
        set $upstream_app stash;
        set $upstream_port 9999;
        set $upstream_proto http;
        proxy_pass $upstream_proto://$upstream_app:$upstream_port;
        proxy_set_header Host $http_host;
        #proxy_read_timeout 60000s;  #this need to be adjected in proxy.conf and not here
    }
}
@binarygeek119 binarygeek119 added the enhancement New feature or request label Oct 14, 2024
@LinuxServer-CI LinuxServer-CI moved this to Non-Docker Issues in Issue & PR Tracker Oct 14, 2024
@LinuxServer-CI
Copy link

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request no-issue-activity
Projects
Status: Non-Docker Issues
Development

No branches or pull requests

2 participants