From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: nginx et .htaccess Date: Fri, 4 May 2018 15:29:14 +0200 Message-ID: <20180504132914.GA3059@jurong> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43434) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fEam7-00065V-27 for help-guix@gnu.org; Fri, 04 May 2018 09:29:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fEam3-0001JJ-T7 for help-guix@gnu.org; Fri, 04 May 2018 09:29:27 -0400 Received: from hera.aquilenet.fr ([2a0c:e300::1]:60648) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fEam3-0001IN-MT for help-guix@gnu.org; Fri, 04 May 2018 09:29:23 -0400 Content-Disposition: inline List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org Hello, I would like to set up a web server with a password (only one user and the associated password), in the same way as the .htaccess file does for apache. When looking on the web, there are examples how to do this with Ubuntu etc., by adding a file somewhere to /etc (with the hashed password) and editing a line in the configuration file. Does our nginx configuration allow us to do the same? Andreas