Forum Discussion
Convert Nginx rules to f5 irules
Hi,
I would need some help in converting the below nginx rules to f5 irules.
location ~ ^/$ {
proxy_pass http://artifactory/ui/$1;
}
location / {
location ~ ^/$ {
proxy_pass http://artifactory/ui/ proxy_read_timeout 2400s;
proxy_pass_header Server;
proxy_cookie_path ~*^/.* /;
proxy_max_temp_file_size 0;
# proxy_buffer_size 128k;
# proxy_buffers 40 128k;
# proxy_busy_buffers_size 128k;
location ~ ^/ui {
proxy_pass http://artifactory;
}
proxy_pass http://artifactory-direct/artifactory/;
proxy_set_header X-Artifactory-Override-Base-Url $http_x_forwarded_proto://$host;
proxy_set_header X-Forwarded-Port $server_port;
proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# add_header Strict-Transport-Security always;
}
location ~ ^/artifactory/ {
proxy_pass http://artifactory-direct;
}
- JRahmAdmin
Hi Sara123 is this a pretty standard artifactory deployment? I'm not super skilled with nginx proxypass configs, and as posted chatgpt is not doing me any favors in an attempted conversion. That said, I have 2 references from jfrog, the first for nginx and the second for f5...might give you some pointers on getting toward the f5 solution, which on the surface seems a lot less complex.
- https://jfrog.com/help/r/how-to-configure-https-with-nginx-for-artifactory-7-x/how-to-configure-https-with-nginx-for-artifactory-7.x
- https://jfrog.com/knowledge-base/how-to-configure-an-f5-load-balancer-for-artifactory-7-x/
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com