question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add url base option in config.json

See original GitHub issue

I have a domain from a free ddns service and want to set a reverse proxy on pigalley2.

location /gallery/
{
        proxy_set_header    X-Real-IP    $remote_addr;
        proxy_set_header    X-Forwarded-For    $proxy_add_x_forwarded_for;
        proxy_pass    http://127.0.0.1:10080/;
}

I tried with above nginx config. All .js file’s path is rewritten to root.

image

If there be a url base option like other web apps, Reverse proxy config will be much easier.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
studioaicommented, May 16, 2018

I built it on my PC. It works perfectly! Thank you for your effort and works!

1reaction
tomikaiscommented, May 15, 2018

You need to install phantomjs with apt-get. so run this commands on a raspberry pi: curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - sudo apt-get install -y nodejs phantomjs sudo npm install npm@latest -g sudo reboot then you can run npm install

Read more comments on GitHub >

github_iconTop Results From Across the Web

Add baseUrl and paths in tsconfig.json and jsconfig.json #5645
I am trying to use baseUrl and paths but CRA automatically removes those settings from my tsconfig.json completely disabling the use of them ......
Read more >
5 ways to set the URLs for an ASP.NET Core app
Using launchSettings.json - Set the URLs using the applicationUrl property. KestrelServerOptions.Listen() - Configure addresses for Kestrel ...
Read more >
Configuration - Cypress Documentation
This guide is for Cypress 10 and the new JavaScript configuration file format. If you are on an older version of Cypress that...
Read more >
How to Store and Read Configuration Files Using React
In this guide, you will learn how to store a configuration file in your project root and read values from it in React....
Read more >
Configure Hosting behavior | Firebase Hosting - Google
Use a rewrite to show the same content for multiple URLs. Rewrites are particularly useful with pattern matching, as you can accept any...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found