Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7966223
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T06:22:09+00:00 2026-06-04T06:22:09+00:00

I started little project with Play Framework 2.0 and I wonder which is the

  • 0

I started little project with Play Framework 2.0 and I wonder which is the better way for creating two-part site: admin and public? I want to make admin access over https protocol only.

Should I specify three sub-projects:

  • Domain model project
  • Public project
  • Admin project

But even in this case I wonder how to specify access to admin part over https only?
Or this is possible to do in one project?

I’ve just found this: https://groups.google.com/group/play-framework/browse_thread/thread/d75cdb32d348dc0f/64838b04a452bfaf?lnk=raot which says that force HTTPS for some pages unavailable. Is there any workarounds?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T06:22:11+00:00Added an answer on June 4, 2026 at 6:22 am

    To handle the HTTP or HTTPS access you can use a frontend HTTP server. I have used Nginx for that.

    Then, with Nginx (or Lighthttpd) you can use this frontend server to handle HTTPS for some urls (for example: http://www.mydomain.com/secure/*) and HTTP for others.

    For admin access, you can do both: two independent projets or a single one. The first solution seams harder to maintain and will raise some questions about shared cache or sessions.

    For both solutions you will need to have a look at proxy forwarding as your HTTP/HTTPS requests will be handled by your frontend server and then forwarded to your Play app(s).
    Play documentation details how to configure Lighthttpd for this.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've started working on a little ruby project that will have sample implementations of
I've just started a project and need a little push in the right direction.
I was playing with Google maps for last two days and started understanding little
I have started to play a little with Qt 4. And then I have
I've started a little project for myself to get more familiar and comfortable with
I recently started a little project in PHP, I'm sort of new to this
So I started a little home project in MVC 3 where I need to
I started on a little toy project in C lately and have been scratching
I've just started learning Android development and as a little project, I'm building a
I've started a little side project to try to learn a few new concepts

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.