This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# A typical Nginx server block for Concrete5 https://www.concrete5.org/ | |
# Author: Mikael Luxwarp Carlsson mikael.m.carlsson@gmail.com https://luxwarp.info | |
# License: MIT | |
server { | |
listen 80; | |
listen [::]:80; | |
# the path to site web root (eg /var/www/html). | |
root /path/to/concrete/web/site; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# A typical Nginx server block for Webmin. | |
# This asumes that you have disabled ssl in webmin miniserv.conf and added | |
# referer=manage.example.com in webmin conf file. | |
# Author: Mikael Luxwarp Carlsson luxwarp@codeiolo.org https://codeiolo.org | |
# License: ISC | |
# Created: 2019-08-22 | |
server { | |
# Ports to listen to. | |
listen 80; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# A typical Nginx server block for Wordpress | |
# Author: Mikael Luxwarp Carlsson luxwarp@codeiolo.org https://codeiolo.org | |
# License: ISC | |
# Created: 2019-08-21 | |
server { | |
listen 80; | |
listen [::]:80; | |
root /path/to/wordpress |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# A typical Nginx server block for Gogs https://gogs.io | |
# Author: Mikael Luxwarp Carlsson luxwarp@codeiolo.org https://codeiolo.org | |
# License: ISC | |
# Created: 2019-08-20 | |
server { | |
# Ports to listen to. | |
listen 80; | |
listen [::]:80; | |
# Server name to listen for. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Example server block config for Vue app. | |
# Author: Mikael Luxwarp Carlsson mikael.m.carlsson@gmail.com | |
# Created: 2019-08-20 | |
# License: ISC | |
server { | |
# What ports should be listened to. | |
listen 80; | |
listen [::]:80; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# A typical Nginx server block for Cockpit CMS https://github.com/agentejo/cockpit | |
# Author: Mikael Luxwarp Carlsson luxwarp@codeiolo.org https://codeiolo.org | |
# License: ISC | |
# Created: 2019-08-18 | |
server { | |
# Port to listen to. | |
listen 80; | |
listen [::]:80; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Example server block config for Nginx + PHP7.3-fpm. | |
# Author: Mikael Luxwarp Carlsson luxwarp@codeiolo.org https://codeiolo.org | |
# License: ISC | |
# Created: 2019-08-17 | |
server { | |
# What ports should be listened to. | |
listen 80; | |
listen [::]:80; |