Skip to content
You must be logged in to vote
    location ~ \.php(?:$|/) {
        fastcgi_split_path_info ^(.+?\.php)(/.*)$;
        set $path_info $fastcgi_path_info;

        try_files $fastcgi_script_name =404;

        include fastcgi_params;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        fastcgi_param PATH_INFO $path_info;
        fastcgi_param HTTPS on;

        fastcgi_param modHeadersAvailable true;         # Avoid sending the security headers twice
        fastcgi_param front_controller_active true;     # Enable pretty urls

        fastcgi_pass php.loadbalancer.example.com:9000;

+       location ~ /index\.php/apps/news {
+               fastcgi_pass php64.loadbalancer.example.com:9000;
+

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@wonderfulShrineMaidenOfParadise
Comment options

@Grotax
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by wonderfulShrineMaidenOfParadise
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants