This topic has 2 replies, 3 voices, and was last updated 9 years by Radu.

  • Author
  • #136029
     leonid
    Participant
    1.  here ./themes/sweetdate/framework/options/fields/typography/ — found links to google with http, as result have error if we use https
      1. fix: perl -p -i -e ‘s!http:(//fonts.googleapis.com)!$1’ themes/sweetdate/framework/options/fields/typography/*
    2. same issue with geonames.org, i fix it via nginx (below) and replace links to /geo/, but better if we proxies via php file

    nginx:

    location = /geo/ {

    proxy_set_header        Host api.geonames.org;

    proxy_set_header        X-Real-IP $remote_addr;

    proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;

    proxy_set_header        X-Forwarded-Proto $scheme;

    proxy_pass          http://api.geonames.org:80/searchJSON;

    proxy_read_timeout  10;

    }

    #136068
     Laura
    Moderator
    Not marked as solution
    #136138
     Radu
    Moderator
    Not marked as solution
Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?