How Can We Help?

Proxy Setup Method

You are here:
← All Topics

Jobiak’s proxy setup solution enables you to optimize all your jobs on Google with nothing more than the addition of a  proxy path in your website server. A hassle-free, code-free, design-free solution.

Pre-requisites for Getting Started 

Before getting started, you must ensure that both your domain and job detail pages are enabled with an SSL certificate. Once this has been verified, you can proceed to the next steps.

The proxy setup will not work if:

  1. When your website is enabled with a static server and cannot be configured.

Configuring the Proxy Setup

Please complete the following steps to complete the Proxy Setup:

STEP 1: All request getting with context path as “/jobiak” need to be proxy forwarded to https://job.jobiak.ai/jobiak/

Example:  https://www.[clientname].com/jobiak proxy forwarded to https://job.jobiak.ai/jobiak/

Note: This process may differ from server to server and the setup can also differ. To refer further you can see below examples:

[expand title=”NGINX SERVER“]

Append this to your webserver config /etc/nginx/conf.d/your_webserver.conf

location /gfj/ {

proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

proxy_set_header X-Forwarded-Proto $scheme;

proxy_set_header X-Forwarded-Port $server_port;

proxy_set_header Host $host; 

proxy_hide_header Set-Cookie;

proxy_read_timeout 600;

fastcgi_read_timeout 600;

proxy_pass https://job.jobiak.ai/gfj/;

}[/expand]

[expand title=”APACHE SERVER“]

Please ensure you have mod_proxy installed in Apache Server.

sudo a2enmod proxy

sudo a2enmod proxy_http

sudo systemctl restart apache2

Then append the following to your web server configuration.

<VirtualHost *:80>

ProxyPreserveHost On

ProxyPass /gfj/ https://job.jobiak.ai/gfj/

ProxyPassReverse /gfj/ https://job.jobiak.ai/gfj/

RewriteEngine On

RewriteRule ^/gfj$ /gfj/ [R=301,L]

RewriteRule ^/gfj/(.+[^/])/$ /gfj/$1 [R=301,L]

# Optional: Set additional headers
RequestHeader set X-Forwarded-For %{REMOTE_ADDR}s
RequestHeader set X-Forwarded-Proto “http”
RequestHeader set X-Forwarded-Port “80”
RequestHeader set Host %{SERVER_NAME}s

# Set timeout for proxy
ProxyTimeout 600

</VirtualHost>[/expand]

[expand title=”AAWS ELB (Load Balancer)”]

Please read follow article for adding Path based routing for AWS ELB

https://docs.aws.amazon.com/elasticloadbalancing/latest/application/tutorial-load-balancer-routing.html[/expand]

[expand title=”AWord Press”]

Configuration for word press goes the same. Depending upon your webserver.[/expand]

Table of Contents