Skip to content

Instantly share code, notes, and snippets.

@Baysul
Last active June 17, 2018 16:54
Show Gist options
  • Select an option

  • Save Baysul/c543ae3777ad6acedeba1fabadb9bbf4 to your computer and use it in GitHub Desktop.

Select an option

Save Baysul/c543ae3777ad6acedeba1fabadb9bbf4 to your computer and use it in GitHub Desktop.
Nginx Configuration Flags
--prefix=/etc/nginx \
--conf-path=/etc/nginx/nginx.conf \
--sbin-path=/usr/sbin/nginx \
--pid-path=/var/run/nginx.pid \
--error-log-path=/var/log/nginx/error.log \
--user=www-data \
--group=www-data \
--with-http_ssl_module \
--with-http_v2_module \
--with-threads \
--with-file-aio \
--with-http_realip_module \
--with-http_gunzip_module \
--with-http_gzip_static_module
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment