503 redirect

2022-01-24 Thread tony tabone
Dear all, I am currently trying to implement a 503 reply with specific pages. I basically have a nginx config which is using GEOIP. All the html files load fine with a 200 reply, however I am trying to change the reply to 503 and still show the same page. Is it possible for this to be done ?

Mapping to change URL

2021-10-28 Thread tony tabone
I am trying to add a mapping to change the url being shown with every location. Do you know if this is possible since an error is being encountered on the mapping. map $geoip2_data_country_code $leovegas_com_index_file $request_uri $new { default /index-en.html default 0; MT /en