Comments (3)
The setup is built with Nginx, so first Iād start with modifying that configuration first (instead of putting it behind a different webserver). Then if you want to tweak the baseurl it should be in settings.py, and you can build a custom image.
from sregistry.
Hi vsoch, thank you for the suggestion. On the server I have apache, so I have to pass through it using a simple rewrite rule
(I didn't touched nginx). However, I changed these settings and more or less it works:
urlpatterns = [
url(r"^sregistry/admin/", admin.site.urls),
url(r"^sregistry/", include(base_urls)),
url(r"^sregistry/api/", include(api_urls)),
url(r"^sregistry/", include(library_urls)), # Sylabs library API - includes v1 and v2 (damn)
url(r"^sregistry/api/schema/$", schema_view),
url(r"^sregistry/api/docs/", include_docs_urls(title=API_TITLE, description=API_DESCRIPTION)),
url(r"^sregistry/", include(main_urls)),
url(r"^sregistry/", include(user_urls)),
url(r"^sregistry/sitemap.xml$", index, {"sitemaps": sitemaps}, name="sitemap"),
url(r"^sregistry/sitemap-(?P
url(r"^sregistry/django-rq/", include("django_rq.urls")),
]
But I don't see css and images. Any suggestion about this?
from sregistry.
You likely want to look at your console logs to see the path that is being tried, and adjust accordingly. The roots are defined here:
Lines 549 to 556 in 675fb4d
from sregistry.
Related Issues (20)
- docker compose error HOT 7
- sregistry under https HOT 5
- Error while pushing images HOT 20
- idea: spec out idea for builder operator
- Faulty date sorting HOT 1
- LDAP login: Python package jose missing, Python syntax error during login HOT 13
- Change local storage location HOT 6
- cannot start with docker compose HOT 1
- shub://* urls do not work HOT 11
- PLUGINS_ENABLED cannot be set in the settings.yaml file. HOT 1
- config.py is no longer there.
- hard coding SOCIAL_AUTH_GITLAB_SCOPE breaks auth. HOT 1
- Missing labels / container build recipes are not populated HOT 6
- NGINX Manifest unkown HOT 8
- Username Invalid token for Singularity CE endpoint HOT 5
- Connection Refused errors when pushing images HOT 6
- Is sregistry working with apptainer? HOT 1
- Images uploaded via web interface not found with Singularity pull HOT 6
- Push gives error 404 HOT 3
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 sregistry.