Skip to main content

Questions tagged [nginx]

Nginx (pronounced "engine x") is a web server with a strong focus on high concurrency, performance and low memory usage. It can also act as a reverse proxy server for HTTP, HTTPS, SMTP, POP3, and IMAP protocols, as well as a load balancer and an HTTP cache. Created by Igor Sysoev in 2002, Nginx runs on Unix, Linux, BSD variants, Mac OS X, Solaris, AIX, HP-UX, and Microsoft Windows.

7 votes
1 answer
2k views

I needed Nginx Docker image with additional modules (Lua and headers more) and Lua Prometheus lib. I did not want to use Openresty for that because its Alpine docker image weighs ~110MB, when Nginx ...
murtll's user avatar
  • 73
2 votes
1 answer
158 views

The following bash script is intended to be run on a freshly installed digitaloceans ubuntu 20.04 droplet by root in its home dir. The purpose is to setup a ready to use webserver with SSL (certbot), ...
Roadrunner85's user avatar
0 votes
1 answer
150 views

https://github.com/bbachi/nextjs-nginx-docker https://github.com/bbachi/nextjs-nginx-docker/blob/main/Dockerfile ...
user avatar
3 votes
1 answer
3k views

I made the following regular expression for parsing ngnix log ...
for_so_only's user avatar
2 votes
1 answer
150 views

This config has 3 main features but there seems to be a lot of duplication and I wonder if I could improve it. 1 Detect all pngs and jpgs in static/img and try a webp version if the requesting ...
Calin Leafshade's user avatar
1 vote
1 answer
78 views

This is how I create am Nginx virtual host for a WordPress webapp. I did best to keep it as minimal as I can while having a working webapp. Please review it: ...
Arcticooling's user avatar
2 votes
2 answers
144 views

I have written the following Bash script which includes an Nginx WordPress bootstrapper: A program establish WordPress apps fast on a Debian-Nginx environment. It utilizes CertBot for HTTPS, SSHguard ...
user avatar
3 votes
1 answer
120 views

The following script is aimed for Ubuntu >=16.04 LEMP environments with PHP-FPM >=7.0, MySQL, WP-CLI, Certbot, and ...
Arcticooling's user avatar
1 vote
1 answer
117 views

Please review the following Bash script that uses to establish a "lightweight" Ubuntu-Nginx server environment mainly aimed to run small WordPress sites (about 5 plugins, about 25 webpages, about 25 ...
Arcticooling's user avatar
2 votes
1 answer
157 views

The following script creates a webapp substrate for WordPress webapps/websites on Ubunu-Nginx with PHP-FPM and Mysql environments, with Certbot, while all software is uncustomized. Such substrate ...
Arcticooling's user avatar
4 votes
1 answer
321 views

I've created the following cron for daily and weekly scripts for a minimal Nginx server environment (as part of my larger script). The daily cronjob updates WordPress and brings back original ...
Arcticooling's user avatar
6 votes
1 answer
184 views

The following code is an Nginx default conf file. The conf file itself includes another server block which holds a site's configuration. While this combination ...
user avatar
3 votes
1 answer
2k views

I'm building a server for serving static content, and uploading images there. Everything works, but I'm not expert in nginx and server configuration, so maybe someone sees some improvements for this. ...
Iorrrrrrrrrr's user avatar
2 votes
1 answer
96 views

I'm trying to implement a simple "monitoring" tool in C to be used on our servers to check NGINX status, executed periodically with a cron task. This is my very ...
setevoy's user avatar
  • 797
2 votes
1 answer
256 views

Here's a script I wrote for raising up a basic Nginx server environment. The script includes an internal script named csb (create Sblock) which is used to create Sblocks in a comfortable way. As I'm ...
user avatar

15 30 50 per page