After
I am migrating the spree site from Heroku to vps.
The site is working fine except PayPal_xpress payments The last button is clicked and the payment for the user should be directed to the paypal page when I get it:
Gateway error: translation missing: en.callback_url_is_wrong_type_you_must_use_the_https
it was. My nginx settings are:
Unicorn on the river {Server Unix: /tmp/unicorn.slippers.sock fail_timeout = 0; } Server {80; Listen [:]: 80; Server_name *. Matthewcookson.com matthewcookson.com; Return 301 https: // $ host $ request_uri $ is_args $ args; } Server {443 SSL; Server_name Matthew Keksenon.com En.matthewcookson.com fr.matthewcookson.com; Ssl_certificate /home/deployer/apps/slippers/shared/certs/server.crt; Ssl_certificate_key /home/deployer/apps/slippers/shared/certs/server.key; Ssl_session_timeout 5m; Ssl on; Ssl_protocols SSLv2 SSLv3 TLSv1; Ssl_ciphers High:! ANALLET! MD5; Ssl_prefer_server_ciphers ON; Root / house / deployment / application / slippers / current / public; Place ^ ~ / assets / {gzip_static on; Max Finish; Add_header cache-control public; } Try_files $ uri / index.html $ uri Unicorn; Location @ Unicorn {Proxy_set_header X-Forward- $ proxy_add_x_forwarded_for; Proxy_set_header host $ http_host; Proxy_redirect closed; Proxy_pass http: // unicorn; } Error_page 500 502 503 504 / 500.html; Client_max_body_size 4G; Keepalive_timeout 10; }
I did not change the archive configuration
Comments
Post a Comment