Thinking it through though I think my solution is bad since it implies a dependency between the urls defined in the program and the location used in nginx, ie. they must match and the program cannot be proxied at an arbitrary location. So hopefully there is a better solution than the one I found. I hope I'm not asking too many questions. On 10/30/22 11:41, Brian Carey wrote: > >by biscotty - Nginx Mailing List - English
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 removed the rewrite rule below. Thanks by the way for the help you give here. Brian On 10/30/22 11:20, Brian Carey wrote: > > Hi, > > I have an app running at port 8239 on biscotby biscotty - Nginx Mailing List - English
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 from the apache server handling requests to /. So it seems like the port number information is soby biscotty - Nginx Mailing List - English
It doesn't work if the originating url is https:// but does if it is http:// On 9/19/22 12:46, Eric Germann via nginx wrote: > Do you have https: at the front of the URL instead of http:? > > --- > Eric Germann > ekgermann {at} semperen {dot} com || ekgermann {at} gmail {dot} com > LinkedIn: https://www.linkedin.com/in/ericgermann > Medium:https://ekgermann.mediumby biscotty - Nginx Mailing List - English
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 itself has no problem with https and all http traffic is forwarded to https. However when I try toby biscotty - Nginx Mailing List - English
OK, sadly I was pre-mature in my explanation and claim of success, although the trailing slash was clearly an issue. Now I can use the application fine in the open browser which I can see did implement my changes because I can move around in the app normally. But I get too many redirects with other browsers or other instances of the same browser, which suggests to me that something waby biscotty - Nginx Mailing List - English
Wow that looks promising. Can't try until tomorrow because it's 2am but I'll try first thing tomorrow. From a best practices point of view would one solution be better than the other assuming both work? The second suggestion seems more straight-forward and avoids patches/fixes which is a good thing in general. Get BlueMail for Android On Sep 16, 2022, 1:49 AM, at 1:49 AM, Francis Daly <by biscotty - Nginx Mailing List - English
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 http://my.domain/app works and http://my.domain/app/home works. What doesn't: But if I click on theby biscotty - Nginx Mailing List - English
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 nginx:alpine CMD ["nginx", "-g", "daemon off;"] EXPOSE 8by biscotty - Nginx Mailing List - English
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 read/seen seem to use one and others seem to use the other. Thanks, biscotty _____________by biscotty - Nginx Mailing List - English
OMG. I went around so many times trying to figure it out I forgot to re-check my router's port forwarding. I must have changed it at some point. A million thanks! On 9/4/22 18:10, Thomas Ward wrote: > Is this on a VPS? They might have and additional firewall on the > hosting side you need to adjust. > > If this is behind a routwer and you are outside the network make sureby biscotty - Nginx Mailing List - English
Also just to give as much info as possible this is how I created the keys: openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/ssl/biscotty.dev.ke y -out /etc/nginx/ssl/biscotty.dev.crt On 9/4/22 17:48, Moshe Katz wrote: > Here are a few things you can check (all of these need to be run as > root or using `sudo`): > > Is nginx actually listening on poby biscotty - Nginx Mailing List - English
Thanks so much for your reply. See answers below. On 9/4/22 17:48, Moshe Katz wrote: > Here are a few things you can check (all of these need to be run as > root or using `sudo`): > > Is nginx actually listening on port 443? There are lots of different > commands you can use to check this, but I like to use `netstat -lptn | > grep nginx`. > root@biscotty-lt:/etc/by biscotty - Nginx Mailing List - English
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 ssl it hangs. I hope someone here has some ideas because I don't know where else to turn.by biscotty - Nginx Mailing List - English
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 ssl it hangs. No errors show in the nginx logs. I'm running Ubuntu 20.04. Nginx was installed followingby biscotty - How to...
On Fedora 36 nginx runs fine and i can access it on localhost and the LAN. However I'm having trouble enabling ssl. When I try with https I get ERR_CONNECTION_REFUSED. nginx error log reports no error. I'd really appreciate some help because I've been working at this all day. This is my nginx.conf: ``` user nginx; worker_processes 1; error_log logs/error.log; error_log logs/error.logby biscotty - Nginx Mailing List - English
![]() |
![]() |
![]() |
![]() |
![]() |