Hello, The Nginx configuration is as below: upstream nodejs { server nodejs:3000; } server { listen 80; server_name default_server; error_log /var/log/nginx/error.system-default.log; access_log /var/log/nginx/access.system-default.log; charset utf-8; root /usr/share/nginx/html; index index.html index.php index.js; location ~ \.js$ { proxy_passby hack3rcon - Nginx Mailing List - English
Hello, The Dockerfile is as follows: FROM node:latest RUN mkdir -p /usr/src/app WORKDIR /usr/src/app COPY ./www/package.json /usr/src/app/package.json RUN npm install RUN npm update COPY ./www /usr/src/app EXPOSE 3000 The YAML file is as follows: version: '3.9' services: nodejs: container_name: Node build: context: . dockerfile: Dockby hack3rcon - How to...
Hello, Nginx configuration is as follows: server { listen 80; server_name default_server; error_log /var/log/nginx/error.system-default.log; access_log /var/log/nginx/access.system-default.log; charset utf-8; root /usr/share/nginx/html/; location ~ \.php$ { fastcgi_pass php-fpm:9000; fastcgi_index index.php; fastcgi_param SCRby hack3rcon - Other discussion
Hello. I want to add below "if" statement: if ($request_method !~ ^(GET|HEAD|POST)$ ) { return 405; } But where is the location of it? Under "http"? Thank you.by hack3rcon - How to...
Hello Folks. I installed Nginx and Elasticsearch and Kibana and my Linux box IP is 192.168.1.1 but when I enter this IP in browser it show me Nginx start page and I must enter "192.168.1.1/kibana" to show the Kibana start page. How can I doing it automatically? I mean is when a user Enter "192.168.1.1" it automatically forwarded to "192.168.1.1/kibana" ? Cheers.by hack3rcon - Nginx Mailing List - English