54,581 questions
0
votes
0
answers
54
views
Keycloak JS session lost on page refresh (F5) behind Nginx reverse proxy - Keycloak 26 (Quarkus)
I'm facing a persistent issue where my Angular application loses its Keycloak session every time the user refreshes the page (F5). I am using Keycloak 26.5.2 (Quarkus) behind an Nginx reverse proxy ...
1
vote
0
answers
42
views
Django Admin not loading static files [duplicate]
I am working on a web server project on raspberry pi. It's based on django and uses gunicorn for localhost web server and nginx as proxy to my LAN. On the main site '/' it shows django default site ...
-2
votes
0
answers
120
views
How to setup a PHP file to return static files [closed]
I am trying to use a single index.php file to protect static files created on docussaurus.
I created an NGINX config to force all links to be parsed by index.php like below:
server {
listen 8000;
...
0
votes
0
answers
36
views
ASP.NET Core OIDC Auth behind containerized nginx reverse proxy in virtual directory not passing correct signin-oidc URI
My scenario:
An ASP.NET Core application using OIDC Authentication running in Docker. Internally, the app listens on port 8080 and is configured with /app1 as a PathBase in Program.cs :
app....
0
votes
1
answer
50
views
Redirect old URLS with SEO to new app. Angular + Symfony
I'm having a situation where there is an existing website. It's going to get replaced by a new version made from scratch but I want to use old URL's which will exist for a while to preserve SEO score ...
0
votes
0
answers
52
views
Why does my Node.js production deployment return 502 Bad Gateway behind Nginx after restart?
I'm deploying a Node.js web application on a Linux server using Nginx as a reverse proxy. The application works correctly when I start it manually, but after restarting the server or redeploying the ...
0
votes
1
answer
100
views
Jenkins Running in Docker deploy Angular app to Nginx [closed]
I have a Docker compose file with a few services. Two of these services is a Jenkins server and the other is an Nginx server. All services including the two in question run on a docker network but in ...
0
votes
1
answer
100
views
Nginx reverse proxy to maptiler.com [duplicate]
Nginx - Trying to get a reverse proxy working to fetch tiles from my maptiler account.
# MapTiler proxy
location ^~ /maptiler-osm/ {
set $maptiler_key "my-key";
...
0
votes
1
answer
85
views
Why are there random files being generated at the root of my nextjs project when deploying on google cloud vm's ubuntu using nginx and pm2?
As said in the question. I deployed a nextjs app by spinning up a VM instance with Ubuntu OS (24.4.0); then installing nginx, nvm and pm2; I then clone my project to the server, config nginx server to ...
-4
votes
1
answer
185
views
Ubuntu 24.0 Docker - PHP-FPM + NGINX - PHP-FPM gives /index.php 404 error [closed]
I have a docker setup with Laravel Application that works fine on local Mac however, I am facing issues with the deployment on Ubuntu server 24.0.
All my paths are correct
All my volumes are mapped ...
Advice
0
votes
0
replies
75
views
How do I reference my own Openstreetmap tiles in Leaflet
I have followed the instructions for installing Mapnik, PostgreSQL, OSM2pgsql, etc as detailed here:
https://switch2osm.org/serving-tiles/manually-building-a-tile-server-ubuntu-24-04-lts/
However, the ...
0
votes
0
answers
71
views
performing url rewriting on the value of $upstream_http_location
I am using nginx 1.29 as a reverse proxy for tomcat.
Tomcat is issuing a 301 or a 302 for some urls and the nginx proxy is sending the response with the Location value as provided by tomcat which ...
1
vote
1
answer
73
views
Nginx Not serving CSS
I am trying to learn to use nginx. Right now I am having trouble getting the CSS to apply to my HTML.
It serves my HTML, but no CSS. The CSS is correctly linked in the HTML.
Here is my file structure
/...
0
votes
1
answer
124
views
Getting 404 not found when I make a post request to flask + nginx
I am running a flask server on AWS EC2 instance. AWS EC2 instance means a computer on AWS. I use this command to run the server gunicorn --bind 0.0.0.0:5000 app:app. I have set up nginx as a reverse ...
0
votes
0
answers
97
views
Next JS 16 killed PM2 and all Service in VPS Ubuntu 20
I’m deploying a Next.js application on an Ubuntu 20.04 VPS using a fairly standard setup, but I’m running into serious stability issues that I can’t fully explain.
Environment
Ubuntu 20.04
Node.js ...