Different url for repository #1879

Closed
opened 2025-11-02 04:16:19 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @phasianus on GitHub (Jun 6, 2018).

  • Gitea version (or commit ref): 1.4
  • Git version:
  • Operating system: Linux
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • [x ] SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

I should be nice to configure different url for repository - not only automatic generated. F.e.: URL for amins/wiki/browse... : http://server1.com/gitea, url for client access http://server1.com/gitea/repository...

Why? I should be able to configure different authentication scheme for web acesss and git clients access.

Maybe it is possible, but I am not able to find it - sorry th case.

Screenshots

Originally created by @phasianus on GitHub (Jun 6, 2018). <!-- 1. Please speak English, this is the language all of us can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/NsatcWJ) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): 1.4 - Git version: - Operating system: Linux - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [ ] MSSQL - [x ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [ ] Not relevant - Log gist: ## Description I should be nice to configure different url for repository - not only automatic generated. F.e.: URL for amins/wiki/browse... : http://server1.com/gitea, url for client access http://server1.com/gitea/repository... Why? I should be able to configure different authentication scheme for web acesss and git clients access. Maybe it is possible, but I am not able to find it - sorry th case. ## Screenshots <!-- **If this issue involves the Web Interface, please include a screenshot** -->
GiteaMirror added the type/proposal label 2025-11-02 04:16:19 -06:00
Author
Owner

@lunny commented on GitHub (Jun 6, 2018):

It's some difficult to do.

@lunny commented on GitHub (Jun 6, 2018): It's some difficult to do.
Author
Owner

@phasianus commented on GitHub (Jun 7, 2018):

I do not know the code. But I think it is useful. Like GlitBlit: there are alternative url in config file and git url for clients are constructed against these urls.

@phasianus commented on GitHub (Jun 7, 2018): I do not know the code. But I think it is useful. Like GlitBlit: there are alternative url in config file and git url for clients are constructed against these urls.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#1879