Re: proxy_pass works on main page but not other pages

2022-10-30 Thread Brian Carey
found. I hope I'm not asking too many questions. On 10/30/22 11:41, Brian Carey wrote: Okay I seem to have solved this. I re-wrote the app urls to mount all directories under /striker, something unnecessary for the app itself but necessary for nginx to properly forward. I also remove

Re: proxy_pass works on main page but not other pages

2022-10-30 Thread Brian Carey
:20, Brian Carey wrote: Hi, I have an app running at port 8239 on biscotty.me. If I access the app directly everything works as expected. I am able to use proxy_pass to forward https:/biscotty.me/striker to the main page of my app. The problem is that all of the links in the app result in a

proxy_pass works on main page but not other pages

2022-10-30 Thread Brian Carey
Hi, I have an app running at port 8239 on biscotty.me. If I access the app directly everything works as expected. I am able to use proxy_pass to forward https:/biscotty.me/striker to the main page of my app. The problem is that all of the links in the app result in a page not found error fro

Re: forward 443 requests to correct (?) port

2022-09-19 Thread Brian Carey
https://www.linkedin.com/in/ericgermann Medium:https://ekgermann.medium.com Twitter: @ekgermann Telegram || Signal || Skype || Phone +1 {dash} 419 {dash} 513 {dash} 0712 GPG Fingerprint:89ED 36B3 515A 211B 6390  60A9 E30D 9B9B 3EBF F1A1 On Sep 19, 2022, at 14:25, Brian Carey wrote: Hi, Mayb

forward 443 requests to correct (?) port

2022-09-19 Thread Brian Carey
Hi, Maybe I'm misunderstanding how this should work. Can I use non-ssl connections for upstream servers when the originating request is https? I'm forwarding nginx requests to an apache server listening on 8080. Everything works fine if I explicitly use http but not https. My nginx site itse

Fwd: soooo close: nginx gunicorn flask directory stripped from links

2022-09-16 Thread Brian Carey
. Forwarded Message Subject: Re: s close: nginx gunicorn flask directory stripped from links - SOLVED Date: Fri, 16 Sep 2022 11:57:55 -0600 From: Brian Carey To: Francis Daly Hi, I believe that if something isn't working that should be the usual answer is very simpl

soooo close: nginx gunicorn flask directory stripped from links

2022-09-16 Thread Brian Carey
Hi, I'm very close to getting my flask app properly reverse-proxied by nginx. What works: I can access and use my app successfully at http://127.0.0.1:8000. I can get to my main page at http://my.domain/app. If I specifically enter the url of a sub-directory/page I can get there, for example

nginx exits error code 0 with docker compose

2022-09-05 Thread Brian Carey
I'm trying to run nginx/mysql/php in docker. Everything seems to run fine. I have added tty: true and changed the Here is my Dockerfile, docker-compose.yaml and the nginx-related output. I did try adding tty: true but it made no difference. Any ideas? Thanks in advance. biscotty ''' FROM n

best practice for file locations

2022-09-04 Thread Brian Carey
Hi, I'm a little confused about the relationship between conf files in conf.d vs sites-enabled. Should server configurations be set up in one directory or both? If either is there a "best practice" location? If there are conf files in both locations which takes precedence? Some sources I've r

Re: Trouble setting up SSL

2022-09-04 Thread Brian Carey
firewall? Check `/var/log/syslog` for firewall messages. On Sun, Sep 4, 2022, 7:27 PM Brian Carey wrote: Hi, I'm pretty new to nginx but do have a server up and running. I've been pulling my hair out over ssl setup though. I have read the docs on your serve

Re: Trouble setting up SSL

2022-09-04 Thread Brian Carey
? Check `/var/log/syslog` for firewall messages. I've disabled the firewall until I get this resolved. On Sun, Sep 4, 2022, 7:27 PM Brian Carey wrote: Hi, I'm pretty new to nginx but do have a server up and running. I've been pulling my hair out over ssl setup

Trouble setting up SSL

2022-09-04 Thread Brian Carey
Hi, I'm pretty new to nginx but do have a server up and running. I've been pulling my hair out over ssl setup though. I have read the docs on your server and some others like the alpine site. The most recent attempt I followed the video tutorial on your website. Whenever I try to connect via