web services - How can I add a a default server Block in Nginx? -


i have several sites configured in nginx , wondering if can include default configuration of them in single server block , include in sites server block.

for example if want set security directives common sites, nice if can include in 1 server block rather having modify every sites server block.

let me know best possible way tackle this


Comments

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

java - Digest auth with Spring Security using javaconfig -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -