Welcome! Log In Create A New Profile

Advanced

Re: Why fastcgi_temp, scgi_temp, uwsgi_temp directories getting created under home dir

Maxim Dounin
May 25, 2017 11:26AM
Hello!

On Thu, May 25, 2017 at 02:56:47PM +0000, Prabhash Rathore wrote:

> Hello,
>
> We see following directories getting created in our home directory when we
> install nginx:
>
> - fastcgi_temp
> - scgi_temp
> - uwsgi_temp
>
> Can someone please tell me what are these directories and how can I
> configure nginx not to create these or create at a different location?

See documentation here:

http://nginx.org/r/fastcgi_temp_path
http://nginx.org/r/scgi_temp_path
http://nginx.org/r/uwsgi_temp_path

Compiled-in defaults can be set during compilation using
appopriate configure options:

--http-fastcgi-temp-path=PATH set path to store
http fastcgi temporary files
--http-uwsgi-temp-path=PATH set path to store
http uwsgi temporary files
--http-scgi-temp-path=PATH set path to store
http scgi temporary files

> At first I thought these are some sort of caching directory but we don't
> have caching enabled so I am hoping it has nothing to do with caching.
>
> We are using nginx mail module with http proxy. We don't have fastcgi, scgi
> and uwsgi modules so not sure why are these directories being created? Here
> is our nginx config:
> https://gist.github.com/prabhash1785/fe7bd1f4da4f63503135bd296fc77633

FastCGI, SCGI, and uWSGI modules are compiled in by default,
unless you explicitly disable them with appropriate configure
options:

--without-http_fastcgi_module disable ngx_http_fastcgi_module
--without-http_uwsgi_module disable ngx_http_uwsgi_module
--without-http_scgi_module disable ngx_http_scgi_module

And once modules are compiled in, appropriate temp
directories are created on start.

--
Maxim Dounin
http://nginx.org/
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Why fastcgi_temp, scgi_temp, uwsgi_temp directories getting created under home dir

Prabhash Rathore May 25, 2017 10:58AM

Re: Why fastcgi_temp, scgi_temp, uwsgi_temp directories getting created under home dir

Maxim Dounin May 25, 2017 11:26AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 220
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready