Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Latest commit

 

History

History
18 lines (14 loc) · 489 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 489 Bytes

sbilo-nginx

This module configures an Nginx installation. Allows for configuring servers and locations. For terminology check the nginx.org website.

Configure a server

Basic configuration of a server. Make sure you don't use slashes in the names of locations.

nginx::server { $::fqdn:
	listen	=> '80 default_server',
}

nginx::server::location { 'default':
	server   => $::fqdn,
	location => '/',
	root	 => '/home/myawesomewebsite',
}