Category "nginx"

write tasks to install nginx and postgresql using ansible-playbook

.score.sh is given as #!/bin/bash pass=0; fail=0; if [ $? -eq 0 ];then worker=`ps -eaf|grep nginx|grep worker` master=`ps -eaf|grep nginx|grep master`

Containerized Keycloak behind Nginx not working (502 Bad Gateway)

I need to serve containerized keycloak behind Nginx. Keycloak runs without any problem at 'localhost:8080' but when I try to access it through the reverse proxy

Nginx Proxy Pass dont acceppts user & password

i need to proxy pass one URL from my internal network, that looks like this here: http://<user><passwd><ipaddress>:<port>/cgi-bin/mjpg/v

Storing docker nginx access logs inside a docker volume

Currently my docker container is printing the nginx access logs to /dev/stdout. How do I create a volume inside my docker container to store the access logs?

502 Bad Gateway for Proxy Pass to HTTPS API server sitting behind Cloudflare Proxy

My current configuration is as shown below. I have frontend delivered from EC2 instance on VM1. The HTTPS API server is on VM2 proxied by Cloudfare. If I call t

NGINX GeoIP2 blocking countries and implementing custom 403 page

This is driving me mad, hopefully someone can help. I have the following warning: But the 403 page is not friendly to blocked countries, I want to redirect peop

Nginx cofig can't read the static with 404 ERR_ABORTED

system: ubuntu 18.04.5 LTS nginx: nginx/1.14.0 (Ubuntu) Hi, I am trying Nginx to proxy reverse a service(doccano) to my prod path and need some help, below is t

Nginx follow redirect and reverse proxy last location

I'm trying to reverse proxy an URL that have a N redirect 301 inside. I want to follow all the pages and then reverse proxy the last page (fourth-url.php). Is

How to set the base path or the ApplicationPath for ASP.NET MVC application

I have an ASP.NET MVC web application which I want to put behind NGINX reverse proxy. Currently the web application is served from the domain's root, i.e., http

Nginx 403 while accessing static files in docker volumes

I am trying to serve static files in docker volumes for my Django project. Nginx is able to access the files(403) error. I tried to solve this in different way

Problem with setting up a stack nginx proxy manager using portainer on my home server

I had this error while trying to setup a nginx proxy manager container using portainer, portainer started without problems error: Recreating 3167b8f95097_nginxp

why does connect domain to "Shopify" ask for either CNAME and A Record?

why does connect domain to "Shopify" ask for either CNAME and ARecord? ref If you've purchased your domain through a third party, then you need to edit th

nginx index.html does not update after modification

Sorry for noob question, I suck at Ubuntu. I have just installed nginx in a Ubuntu server with: sudo apt-get update sudo apt-get -y install nginx It success

digital ocean deployment error: 502 Bad Gateway

I had my site up and running, but the admin CSS was not loading, I am not sure what I did that the server did not agree, but now the entire site is down with a

Not able to see URL without trailing slash in NGINX

I know that this is a common issue in NGINX and there are many threads about that. Issue: When accessing the URL http://localhost/var without trailing slash is

Nginx compress mime types with parameters

I have Nginx reverse proxying my service that works by OData protocol. I'm trying to enable compression for theese requests by putting #... gzip on; gzip_type

GoAccess Set the WebSocket server to listen on port 7890 and localhost

I'm trying to run a GoAccess example: # goaccess -f access.log -o report.html --real-time-html There's either Parsing... [41] [0/s] OR no output in the t

Downsides of 'Access-Control-Allow-Origin: *'?

I have a website with a separate subdomain for static files. I found out that I need to set the Access-Control-Allow-Origin header in order for certain AJAX fea

Uvicorn behind Nginx

I'm starting with starlette and uvicorn. A RHEL8 EC2 server runs Nginx and then uvicorn. The (minimal) App is (note the two alternatives lines uvicorn.run(...))

How to configure nginx to serve HTML files for viewing instead of downloading?

I want to configure nginx to server HTML files for viewing instead of downloading. server { listen 5000; server_name localhost; #charset ko