Skip to content

Instantly share code, notes, and snippets.

View luxwarp's full-sized avatar
😉
Just working hard

Mikael Luxwarp Carlsson luxwarp

😉
Just working hard
View GitHub Profile
@luxwarp
luxwarp / exampe-nginx-concrete5.conf
Created February 20, 2020 10:26
A typical Nginx server block for Concrete5 https://www.concrete5.org/
# 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;
@luxwarp
luxwarp / example-nginx-webmin.conf
Last active August 22, 2019 15:50
A typical Nginx server block for Webmin.
# 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;
@luxwarp
luxwarp / example-nginx-wordpress.conf
Created August 21, 2019 02:13
A typical Nginx server block for Wordpress
# 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
@luxwarp
luxwarp / example-nginx-gogs.conf
Created August 20, 2019 21:25
A typical Nginx server block for Gogs (Self hosted git service) https://gogs.io
# 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.
@luxwarp
luxwarp / example-nginx-vue.conf
Last active August 20, 2019 13:06
Example Nginx server block config for Vue app.
# 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;
@luxwarp
luxwarp / cockpit-cms-nginx-server-block.conf
Last active October 11, 2021 18:01
A typical Nginx server block for Cockpit CMS https://github.com/agentejo/cockpit
# 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;
@luxwarp
luxwarp / example-nginx-php.conf
Last active August 18, 2019 11:01
Example server block config for Nginx + PHP7.3-fpm.
# 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;