| 123456789101112131415161718192021 |
- server {
- listen 80;
- index index.php;
- server_name localhost;
- root /var/www/html/public;
- location / {
- if (!-e $request_filename){
- rewrite ^(.*)$ /index.php?s=$1 last; break;
- }
- }
- location ~ \.php$ {
- fastcgi_pass vocs-edge-php:9000;
- fastcgi_index index.php;
- fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
- include fastcgi_params;
- }
- }
|