Comments (3)
@rmad1717 We'd need more info on this. Did you follow all the instructions in the installation section of the README? If so, what does your nginx configuration look like?
from torch.
Did follow all instructions
server {
location /admin/ {
proxy_pass http://127.0.0.1:4000/admin/;
}
listen [::]:443 ssl http2 ipv6only=on;
listen 443 ssl http2 default_server; # managed by Certbot
server_name myserver.com;
location / {
allow all;
# Proxy Headers
proxy_http_version 1.1;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_set_header X-Cluster-Client-Ip $remote_addr;
# WebSockets
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_pass http://127.0.0.1:4000;
}
location ~* ^.+\.(?:css|cur|jpg|jpeg|gif|htc|ico|png|html|xml|otf|ttf|eot|woff|woff2|svg)$ {
root /<path>/priv/static;
expires off;
add_header Cache-Control public;
etag off;
access_log off;
}
}
from torch.
Looks like you have a location
matching rule that directs any request for css and image files to a specific location. Torch doesnt serve it's internal assets from that location. If you want them served from there, you'd need to add a step in your deploy to copy them to that directory, or modify your location
match regex to not include torch specific assets in that match
from torch.
Related Issues (20)
- Invalid plug layout option HOT 21
- Torch in Umbrella? HOT 1
- Removed deprecated usage of core methods. HOT 3
- Migrate from TravisCI to Github Actions for CI
- Timex usage? HOT 1
- Date filters are altered after applying filter HOT 12
- Error rendering filters when two filter fields share the same prefix HOT 4
- Support binary_id search fields HOT 3
- phoenix 1.6 is unsupported HOT 7
- Searching with Equals Filter Swaps to Contains after submit HOT 6
- Update test suite for Phoenix 1.6 HOT 1
- Manual Date Entry is Changing HOT 7
- Boolean filter sometimes needs three states: true, false, and "don't include in filter" HOT 4
- Updated styles without fixed widths HOT 3
- undefined function form/1 HOT 1
- Support for phoenix 1.7 HOT 4
- [DISCUSSION] Should torch generators not generate context methods at all?
- Add/expand test coverage
- How to paginate on non-standard timestamp keys? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from torch.