Comments (4)
I swear I've gotten it to work with Swag a few months ago. I have the config saved, let me know if this works:
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name pasta.*;
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 / {
# 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 /ldaplogin;
# enable for Authelia
#include /config/nginx/authelia-location.conf;
include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf;
set $upstream_app pasta;
set $upstream_port 80;
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
}
}
from pasta.
Also, in case anyone needs it--here is a Swag subfolder conf that worked for me
location /pasta {
return 301 $scheme://$host/pasta/;
}
location ^~ /pasta/ {
include /config/nginx/proxy.conf;
resolver 127.0.0.11 valid=30s;
set $upstream_app pasta;
set $upstream_port 80;
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
rewrite /pasta(.*) $1 break;
}
from pasta.
aha! It was I, the ding-dong, who put the public-facing port in the swag config. Thank you!
While we're here, I have the smallest docker-compose definition for future googlers
pasta:
image: cglatot/pasta
container_name: pasta
ports:
- 4480:80 #i chose 4480, you can make choose own
restart: unless-stopped
from pasta.
Glad you were able to get this sorted. Thanks for the additional information for the future :D
from pasta.
Related Issues (20)
- Unknown Error (0) when accessing via URL HOT 12
- Incorrect episode sort order for "Entire series" selection HOT 3
- Ignore audio/subtitle format when fuzzy matching HOT 2
- Only apply subtitles on season if it matches "Everything" HOT 12
- force multi-channel audio boost HOT 4
- PASTA chooses the wrong subtitle track HOT 2
- New Pasta Logo HOT 1
- Docker-compose? HOT 4
- Better 'fuzzy matching' of commentary tracks
- Change subtitles of shows in Watchlist
- Episodes has only 2 subtitles, neither is the "forced" one in plex
- Set quality
- Obey Forced/Default
- Allow subtitles deletion
- Docker container doesn't start HOT 1
- Change automatically to new content HOT 1
- Select multiple episodes using SHIFT and CTRL HOT 1
- Managed Users Not Updating HOT 1
- Subtitle order
- Libraries not loading HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pasta.