custom-site-setup

Configure Nginx, generate mkcert SSL certificates, and add /etc/hosts entries for local sites.

2|1|Updated Feb 19, 2026
One-click install
npx skills add https://github.com/assertchris/claude-skills --skill custom-site-setup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: custom-site-setup
Source: https://github.com/assertchris/claude-skills/tree/main/custom-site-setup
Command: npx skills add https://github.com/assertchris/claude-skills --skill custom-site-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the setup of local development websites, including Nginx configuration, SSL certificate generation with mkcert, and DNS entry creation in /etc/hosts.

Core Features & Use Cases

  • Nginx Configuration: Creates a server block for a given domain.
  • SSL Certificates: Generates self-signed SSL certificates using mkcert.
  • DNS Resolution: Adds an entry to /etc/hosts for local domain resolution.
  • Use Case: When starting a new web project that requires a local development environment with HTTPS, use this skill to quickly configure Nginx and SSL.

Quick Start

Use the custom-site-setup skill to configure a local development site for the domain myapp.test, using the public directory.

Frequently Asked Questions about custom-site-setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a local development site with Nginx and SSL?

This skill automates local dev site setup by configuring an Nginx server block, generating SSL certificates with mkcert, and adding DNS entries to /etc/hosts. It prompts you for a domain name and document root to generate the necessary configuration commands.

Can I use mkcert to generate SSL certificates for local PHP projects?

Yes, mkcert generates self-signed SSL certificates for local PHP projects. The skill handles both PHP projects and static sites, creating the Nginx configuration and SSL certificates needed for a secure local HTTPS environment.

What is the best way to configure local DNS resolution for a custom domain?

The best way to configure local DNS resolution is by adding an entry to the /etc/hosts file. This skill automates adding the local domain entry to /etc/hosts, ensuring your browser routes the custom domain to your local Nginx server.

Do I need Nginx installed to set up a local development environment?

Yes, Nginx is required as this skill creates Nginx server blocks to route local traffic. You also need mkcert installed to generate the self-signed SSL certificates for your local development environment.

How do I automate Nginx server block creation for static sites?

You automate Nginx server block creation for static sites by providing a domain and document root path. The skill generates the server block configuration and mkcert SSL certificates, providing the exact commands for you to execute.