User Tools

Site Tools


servers:windows:nginx_php_php-cgi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
servers:windows:nginx_php_php-cgi [2025/04/18 11:10] Sean Rhoneservers:windows:nginx_php_php-cgi [2025/04/18 11:29] (current) – [nginx] Sean Rhone
Line 22: Line 22:
   CD "%SystemDrive%\nginx-"*"\" && "nginx.exe" -v   CD "%SystemDrive%\nginx-"*"\" && "nginx.exe" -v
  
-  MKDIR "%SystemDrive%\www\nginx\cgi"+==== confs ====
  
-  COPY /Y "%SystemDrive%\nginx-1.27.5\conf\fastcgi_params" "%SystemDrive%\www\nginx\cgi"+  MKDIR "%SystemDrive%\www\nginx\conf" 
 + 
 +  COPY /Y "%SystemDrive%\nginx-1.27.5\conf\fastcgi_params" "%SystemDrive%\www\nginx\conf" 
 + 
 +  COPY /Y "%SystemDrive%\nginx-1.27.5\conf\mime.types" "%SystemDrive%\www\nginx\conf"
  
 ==== Firewall ==== ==== Firewall ====
Line 117: Line 121:
  
 ===== nginx ===== ===== nginx =====
- 
-  * :!: ''mime.types'' include hard-coded to nginx version path 
-  * TODO: Copy all hard-coded files to ''www'' instead 
  
   notepad "%SystemDrive%\www\nginx\nginx.conf"   notepad "%SystemDrive%\www\nginx\nginx.conf"
Line 146: Line 147:
     include C:/www/nginx/conf.d/*.conf;     include C:/www/nginx/conf.d/*.conf;
     include C:/www/nginx/vhosts.d/*.conf;     include C:/www/nginx/vhosts.d/*.conf;
-    include C:/nginx-1.27.4/conf/mime.types;+    include C:/www/nginx/conf/mime.types;
     default_type application/octet-stream;     default_type application/octet-stream;
  
/srv/www/wiki/data/attic/servers/windows/nginx_php_php-cgi.1744989034.txt.gz · Last modified: by Sean Rhone