Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 9090 ssl http2;
- server_name __;
- # resolver is the internal docker DNS resolver
- resolver 127.0.0.11 valid=15s;
- access_log off;
- open_file_cache off;
- location ~ \.php$ {
- gzip off;
- fastcgi_param REQUEST_URI $request_uri;
- fastcgi_param DOCUMENT_ROOT /var/www/html;
- fastcgi_param GATEWAY_INTERFACE CGI/1.1;
- fastcgi_param REQUEST_METHOD $request_method;
- fastcgi_param QUERY_STRING $query_string;
- fastcgi_param SCRIPT_FILENAME /var/www/html$fastcgi_script_name;
- fastcgi_param HTTPS $https if_not_empty;
- fastcgi_param CONTENT_LENGTH $content_length;
- fastcgi_param REMOTE_ADDR $remote_addr;
- fastcgi_param REMOTE_PORT $remote_port;
- fastcgi_param SERVER_ADDR $server_addr;
- fastcgi_param SERVER_PORT $server_port;
- fastcgi_param SERVER_NAME $server_name;
- fastcgi_cache off;
- fastcgi_index /var/www/html/index.php;
- fastcgi_pass PHPMyAdmin:9000;
- }
- location ~ \.(jpg|jpeg|png|gif|js|ico|css|html|htm|xml|svg|ttf)$ {
- root /var/www/html;
- index index.php;
- try_files $uri $uri/ /index.php?$args;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment