Skip to content

Conversation

@owine
Copy link

@owine owine commented Feb 20, 2025

linuxserver.io


  • I have read the contributing guideline and understand that I have made the correct modifications

Description

Add sample proxy config for Bar Assistant

Note: For some reason, this config did not work when using the typical set directives as other configs use. Only passing the proxy address directly worked appropriately.

Benefits of this PR and context

With three services running as seperate subfolder locations under the same subdomain, this app suggests deploy its own simple nginx to proxy. This config allows a user to put the services behind their existing SWAG service. saltrim.subdomain.conf.sample already exists, but simply points to the simple nginx proxy that the developer documents resulting in a double proxy situation. This submission consolidates the double proxy implementation into a single SWAG config that handles the individual paths.

How Has This Been Tested?

Tested on a new setup and another user tested as well in existing environment

Source / References

@LinuxServer-CI
Copy link

This pull request 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.

@LinuxServer-CI
Copy link

This pull request 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.

@owine
Copy link
Author

owine commented Apr 23, 2025

If this PR is not desired, let me know and I will close it


include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf;
proxy_pass http://salt-rim:8080/;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please follow the established set $upstream_{app,port,proto} scheme. as well as spaces over tabs

@owine
Copy link
Author

owine commented May 23, 2025

I am no longer running this app in a swag environment so cannot test the requested changes. Initially, I was unable to get it working with the upsteam vars as requested. I will go ahead and close this as I cannot test further. Any other Bar Assistant users that would like to take this on are welcome to contact me with my previous experiences getting this working.

@owine owine closed this May 23, 2025
@LinuxServer-CI LinuxServer-CI moved this from PRs to Done in Issue & PR Tracker May 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

3 participants