Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/devemio/nginx-configs

🏝 Wildcard SSL Nginx configuration for Laravel.
https://github.com/devemio/nginx-configs

https laravel letsencrypt nginx nginx-configuration ssl ssl-certificates ubuntu wildcard-certificates

Last synced: about 2 months ago
JSON representation

🏝 Wildcard SSL Nginx configuration for Laravel.

Awesome Lists containing this project

README

        

# 🔒 Wildcard SSL Nginx configuration for Laravel

This script allows you to quickly install the latest version of **Nginx** web server, configure wildcard domain routing, install a secure ssl wildcard certificate through **Let's Encrypt**. This installation has been tested on **Ubuntu 16.04** and **Nginx 1.15.11**.

Based on [Nginx Server Configs](https://github.com/h5bp/server-configs-nginx).

## Installation

#### Install Nginx (optional)

```bash
./bin/install-nginx.sh
```

#### Install Docker (optional)

```bash
./bin/install-docker.sh
```

### 1. Install nginx configurations

```bash
./bin/install-configurations.sh
```

The following files will be created:

```
/etc/nginx
|- server-configs-nginx // base configurations from h5bp
|- base // bash nginx configurations
|- conf.d
| |- default.conf
| |- wildcard.conf
|- nginx.conf
```

### 2. Install wildcard ssl certificates with Let's Encrypt

```bash
./bin/install-ssl.sh
```

The following files will be created:

```
/etc/letsencrypt
|- live
|- options-ssl-nginx.conf
|- ssl-dhparams.pem
```