Yahoo Poland Wyszukiwanie w Internecie

Search results

  1. 20 maj 2012 · You can simply map nginx's root folder to the location of your website: nano /etc/nginx/sites-enabled/default inside the default file, look for the root in the server tag and change your website's default folder, e.g. my websites are at /var/www

  2. 19 maj 2012 · If you want to add the folder C:\Temp as alias directory, you have to use this syntax with forward slashes: C:/Temp/ - otherwise you will find an error like invalid number of arguments in "alias" directive in your \logs\error.log file. 1. List content of all directories. Set autoindex option to on.

  3. 22 sie 2024 · This section describes how to configure NGINX and F5 NGINX Plus to serve static content, how to define which paths are searched to find requested files, how to set up index files, and how to tune NGINX and NGINX Plus, as well as the kernel, for optimal performance.

  4. reopen — reopening the log files. For example, to stop nginx processes with waiting for the worker processes to finish serving current requests, the following command can be executed: nginx -s quit. This command should be executed under the same user that started nginx.

  5. 25 lut 2015 · You just didn't see it :) Calling nginx -s reopen, or sending a SIGUSR1 signal to an nginx process, while cause nginx to reopen its logs files. This can become handy in case you (or a program like logrotate) alter a log file and want nginx to refresh its file descriptors.

  6. The argument signal can be one of: stop — shut down quickly. quit — shut down gracefully. reload — reload configuration, start the new worker process with a new configuration, gracefully shut down old worker processes. reopen — reopen log files.

  7. 3 sie 2022 · The location directive within NGINX server block allows to route request to correct location within the file system. The directive is used to tell NGINX where to look for a resource by including files and folders while matching a location block against an URL.

  1. Ludzie szukają również